"cmd /c if not exist ..\..\lib\gcc_dll\mswu\wx\setup.h copy ..\..\include\wx\msw\setup.h ..\..\lib\gcc_dll\mswu\wx\setup.h"
After glancing at your cbp file, I noticed a common mistake.
You need to copy ..\..\include\wx\msw\setup0.h to ..\..\include\wx\msw\setup.h if the second file does not exist. This is done the first time the mingw makefile is ran.
Tim S.
The project file saves me a lot of time as Code::Blocks utilizes both of my cores to compile, cutting the time in half.
If you use makefile, you can also achieve this by using something like:
mingw32-make.exe -j4 -f makefile.gcc
Anyway, using a cbp file is also great contribution, hope the wx guys will adopt your contribution.
By the way, is it easy to create this cbp file. I would suggest if it possible to create such cbp files for wx's sample code.
Can you show us the link of wxCode/wxDemo?
Example source code links; so you can look at source code first
http://wxcode.svn.sourceforge.net/viewvc/wxcode/trunk/wxCode/components/wxdemo/build/
http://wxcode.svn.sourceforge.net/viewvc/wxcode/trunk/wxCode/components/wxdemo/wxWidgets/demoFiles/animate/
Link to full download
http://sourceforge.net/projects/wxcode/files/Components/wxDemo/
The source code files are 2009 Premake files; Premake files can create Code::Blocks projects.
Problem the files are two years old; but, he has the needed Premake command in his SVN.
No idea if the lua files need updating for 2.8.12; but, I think they did for 2.9 builds.
I do not remember ever testing this and seeing if it works or contains Code::Blocks projects.
But, it should work OK.
Finished the download; code snippet from the first sample project animate.cbp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
Tim S.