I've grown unhappy with CMake for a few reasons:
- it is intrusive
- it doesn't let me easily generate project files for other platforms
- it requires the user to install and learn Cmake.
- it uses a custom yet poorly documented language
So I'm planning to switch Box2D to a combination of hand-made project files and premake generated build files. You can read about premake here: http://industriousone.com/premake. I will maintain hand-made project files for VS2010 and XCode4. For other platforms I will use premake to generate project files that I will submit to SVN. This way most users will not need to install premake.
Since I do not build on other platforms, I'm asking for help to modify my premake script so it generates working build files for other platforms. At a minimum, I would like help for gmake and Code::Blocks.
Here is the premake script: http://code.google.com/p/box2d/source/browse/trunk/Box2D/premake4.lua
There are a few ground rules:
- I don't want any serious customization for things like DLLs, shared libraries, etc.
- I will not support any serious modifications to the source files or the addition of new files.
- My expectation is that debug client apps will link with a debug version of Box2D so that I can get quality bug reports.
- All build files should go into an appropriate sub-folder of the Build folder.
Thanks for your help. I would like to make the switch for 2.2.1.
- it is intrusive
- it doesn't let me easily generate project files for other platforms
- it requires the user to install and learn Cmake.
- it uses a custom yet poorly documented language
So I'm planning to switch Box2D to a combination of hand-made project files and premake generated build files. You can read about premake here: http://industriousone.com/premake. I will maintain hand-made project files for VS2010 and XCode4. For other platforms I will use premake to generate project files that I will submit to SVN. This way most users will not need to install premake.
Since I do not build on other platforms, I'm asking for help to modify my premake script so it generates working build files for other platforms. At a minimum, I would like help for gmake and Code::Blocks.
Here is the premake script: http://code.google.com/p/box2d/source/browse/trunk/Box2D/premake4.lua
There are a few ground rules:
- I don't want any serious customization for things like DLLs, shared libraries, etc.
- I will not support any serious modifications to the source files or the addition of new files.
- My expectation is that debug client apps will link with a debug version of Box2D so that I can get quality bug reports.
- All build files should go into an appropriate sub-folder of the Build folder.
Thanks for your help. I would like to make the switch for 2.2.1.