Opened 3 years ago

Closed 3 years ago

#14608 closed defect (fixed)

Missing USE_XRC in msw build.cfg

Reported by: Owned by:
Priority: low Milestone:
Component: XRC Version: stable-latest
Keywords: build_cfg_file Cc:
Blocked By: Blocking:
Patch: yes


When compile wxWidgets in MS windows the build.cfg file generated does not contain USE_XRC setting.
This affects the output of "wx-config --libs" as wx-config will look into build.cfg file for output

Some user has fired this in forum.

The root cause is makefile is not putting USE_XRC into the build.cfg file (in bild_cfg_file target).
This issue exists in Makefile.gcc Makefile.wat and Makefile.bcc
I have created a patch to fix this. Tested with GCC.

Attachments (1)

use_xrc_makefile.patch download (680 bytes) - added by 3 years ago.
Patch on bakefiles, patched against wxWidget 2.9.4 SVN version 72367

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by

  • Component changed from WebView to XRC

Changed 3 years ago by

Patch on bakefiles, patched against wxWidget 2.9.4 SVN version 72367

comment:2 Changed 3 years ago by

Manolo mentioned the Makefiles are created by bakefiles actually. The bakefile should be the origin of fix.

I have attached another fix to update bakefiles.

comment:3 Changed 3 years ago by vadz

  • Priority changed from normal to low
  • Status changed from new to confirmed

I'll apply this a bit later but it probably makes sense to put USE_XXX for all libraries in build.cfg if we want to add this one, even if it's not really needed by anything inside wx itself.



are lacking as well AFAICS.

comment:4 Changed 3 years ago by VZ

  • Resolution set to fixed
  • Status changed from confirmed to closed

(In [72440]) Output the values of all USE_XXX options to build.cfg file in MSW builds.

options were not output to the build configuration file, unlike the rest of

Do output those ones as well now for consistency.

Also sort the options corresponding to different wx libraries alphabetically.

Closes #14608.

Note: See TracTickets for help on using tickets.