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

From: "Dave Page" <dpage(at)postgresql(dot)org>
To: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
Cc: "PgAdmin Hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: xrc files not installed when --enable-debug i s not set(?)
Date: 2007-11-17 21:48:31
Message-ID: 200711172148310000@234713901
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> ------- 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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Raphaël Enrici 2007-11-17 21:55:59 Re: xrc files not installed when --enable-debug i
Previous Message Raphaël Enrici 2007-11-17 21:34:25 xrc files not installed when --enable-debug is not set(?)