Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: killerbot on February 27, 2006, 03:28:05 pm
-
I have just done some very small experiments by creating apps with the :
- wxWidget
- wxSmith
project templates.
On my setup (unicode), I was not able to build these, I had to change the project files :
- create WX_SUFFIX in environment
- adjust some compiler/linker settings wrt wx
- -DwxUSE_UNICODE
What should be the default : unicode or ansi ?
Or should it be user selectable ?
A whole bunch of these questions might affect changes to the current templates, or might have an influence, I guess, on the new wizards coming up from Don Corleone.
-
As you see, I 'm holding back from changing anything to templates. The plan is that we 'll move to the new wizards when it's ready. Working on templates now is nothing more than a waste of time...
-
Seems I have some more questions myself :
Comparing the cbp files from the above mentioned 2 templates (assuming the unicode stuff would be in there) :
Compiler :
wxWidget and wxSmith :
<Add directory="$(#WX.include)" />
<Add directory="$(#WX.lib)\gcc_dll\msw$(WX_SUFFIX)" />
<Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw$(WX_SUFFIX)" />
<Add directory="$(#WX)\contrib\include" />
-> Q1 : do we still need that WX_CFG ??
Linker :
wxWidget:
<Add directory="$(#WX.lib)\gcc_dll" />
<Add directory="$(#WX.lib)\gcc_dll\msw" />
<Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
wxSmith:
<Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
<Add directory="$(#WX.lib)" />
-> again Q1 ?
-> Q2 : is <Add directory="$(#WX.lib)\gcc_dll\msw" /> needed, I don't see any libs in there (only build.cfg and below setup.h, but that one is for the compiler) ?