I'm setting up nightly codeblocks. I want to make a template project for me to use wxWidgets changing compiler on the fly.
On the project i add a macro WXDIR with c:\dev\lib\wxWidgets-2.6.3 as value.
Then i set $(WXDIR)\include for compiler dir.
For linker it depends on compiler. WxWidgets use a subdir of \lib called f.e. vc_lib dmc_lib wat_lib...
So i set a global compiler var called COMP for each compiler (Digital Mars: COMP = dmc for example).
Then to project linker dir i add $(WXDIR)\lib\$(COMP)_lib and to include dir:
$(WXDIR)\lib\$(COMP)_lib\msw for release
$(WXDIR)\lib\$(COMP)_lib\mswd for debug
But it seems that global compiler vars are not visible from project settings. Could you please make they visible?
(with nightly build i have a bug: every time i start a new project it show me a message box complain about mingw32-g++ and a tmp file. NOTE: i haven't mingw installed on this machine.). Bug log is:
20.33.09: Execution of command 'mingw32-g++.exe -v -E -x c++ C:\DOCUME~1\Andrea\IMPOST~1\Temp\Dum128.tmp' failed (error 2: impossibile trovare il file specificato.)
The italian part means "File not found".
A. Fontana