Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: xrc files not installed when --enable-debug i s not set(?)

Re: xrc files not installed when --enable-debug i s not set(?)




> ------- Original Message -------
> From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
> To: PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>
> Sent: 17/11/07, 21:34:25
> Subject: [pgadmin-hackers] xrc files not installed when --enable-debug is not set(?)
> 
> Hi,
> 
> here is my stupid question of the day:
> is it normal that pgadmin/ui/*.xrc files are not installed if
> "--enable-debug" is not set? I thought these files were mandatory for
> the app to appear (if not, can someone explain what role they have in
> the app?).
> 
> It appears to be disabled in pgadmin/Makefile.am:
>  64 if BUILD_DEBUG
>  65 nobase_dist_pkgdata_DATA = $(TMP_ui)
>  66 endif
> 
> If normal, can I safely ignore these files for the packaging stuff?

Yeah, for a release build they are compiled into xrcdialogs.cpp. In a debug build they are dynamically loaded each time a dialog is opened, making testing easier.

/D



Home | Main Index | Thread Index

top