Author Topic: Project wizard for wx project  (Read 2448 times)

Offline zetab

  • Multiple posting newcomer
  • *
  • Posts: 18
Project wizard for wx project
« on: January 24, 2013, 07:24:21 am »
I would like to create wx project with dynamic link debug + static link release builds.
In this scenario, I found some problems for current project wizard:

1. The "WXUSINGDLL" define for dynamic link is put in project level, not target level.
This means if the project is created as static link in the first place, the newly added dynamic link debug build target will miss this define.
If the project is created as dynamic link and we add a static link build target afterward, the define will been applied to the static link target, this is not appropriate and will fail the build.

2. Win32 libs(libkernel32.a, libuser32.a, libgdi32.a, ...) for static link are also put in project level.
If the project is created as dynamic link, the newly added static link release target will miss these libraries and fail at link stage.

Are these bugs for project wizard? Or I use the wizard in the wrong way??

CB version: 12.11