#14608 closed defect (fixed)

Missing USE_XRC in msw build.cfg

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

Description

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.
http://forums.wxwidgets.org/viewtopic.php?f=19&t=29739&e=0

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 Makefile.vc 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 neil.fan 20 months ago.
Patch on bakefiles, patched against wxWidget 2.9.4 SVN version 72367

Download all attachments as: .zip

Change History (5)

comment:1 Changed 20 months ago by neil.fan

  • Component changed from WebView to XRC

Changed 20 months ago by neil.fan

Patch on bakefiles, patched against wxWidget 2.9.4 SVN version 72367

comment:2 Changed 20 months ago by neil.fan

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 20 months 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.

I.e.

USE_AUI
USE_RIBBON
USE_PROPGRID
USE_RICHTEXT
USE_STC

are lacking as well AFAICS.

comment:4 Changed 20 months 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.

USE_RTTI, USE_AUI, USE_PROPGRID, USE_RIBBON, USE_RICHTEXT, USE_STC and USE_XRC
options were not output to the build configuration file, unlike the rest of
them.

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.