Cake Build System (http://sourceforge.net/projects/cake-build)
A relatively fast build system written in Python.
- Platorm support
- Compiler support
- Visual Studio 2005/2008
- Visual C++ Express
- Build Variants
- Object file cache
- Multi-threaded builds
- Basic shell commands
- Visual Studio Project Generation
- Linux support
- OSX support
- CodeWarrior support
Licensed under the MIT license.
1 - Open a command prompt in this documents directory.
2 - Type 'python setup.py install'.
Optionally run the chosen installer executable or script for your operating system, if it exists.
When Cake starts it will search for a 'config.cake' file starting from the directory of the 'build.cake' script it is trying to execute. This file should generally be located in your projects root directory.
The quickest way to create a config.cake file is to copy src/cake/config.cake. The example config file supports automatic detection of MSVC, MinGW and Gcc compilers, and two development modes, 'debug' and 'release'.
To run cake you simply type cake at the command line:
It will automatically look for a file called 'build.cake' in the current directory and execute it.
You can optionally supply the script filename you want to run as an argument, eg:
You can also specify which variants to run by supplying variant keywords, eg:
'cake platform=windows compiler=msvc'
This will run all variants that build for the windows platform using the msvc compiler.
You can debug the build by using the '--debug' option with any of the available debug keywords, eg:
Will output the command lines that Cake runs.
Will output the reason cake is rebuilding your files (ie. what has changed).
- There is no support for building a module (DLL) with import library under CodeWarrior.
- There is no support for finding a CodeWarrior compiler automatically, eg. mwcw.findCodeWarriorCompiler().