Author Topic: Project Templates  (Read 3986 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5494
Project Templates
« 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Project Templates
« Reply #1 on: February 27, 2006, 03:32:24 pm »
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...
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5494
Re: Project Templates
« Reply #2 on: February 27, 2006, 03:38:58 pm »
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) ?