[CMake] Debug/Release configurations for codeblocks ?
Olaf van der Spek
olafvdspek at gmail.com
Mon Jul 26 13:28:12 EDT 2010
On Mon, Jul 26, 2010 at 7:23 PM, Michael Wild <themiwi at gmail.com> wrote:
> OK, it's like this: CMake has various "backends" which generate the native build tool. For MSVC, GNU Make, nmake, Xcode etc. Now, some of these backends are "multi-config", such as the ones for MSVC and Xcode. That means, the same project file can generate multiple configurations (e.g. Debug, Release or RelWithDebugInfo). Others, the Makefile based ones (GNU Make and nmake) are "single-config", where the build system generated by CMake can only build a single configuration which the user selected when configuring the build tree.
>
> Since the CodeBlocks generator is actually the "GNU Makefiles" generator with the addition of the CodeBlocks project file, it inherits these characteristics and can only build a single configuration.
>
> Hope this clears things a bit.
Thanks a lot.
So the Code Blocks gen isn't native? Just uses a makefile for the
build system. That explains it.
Olaf
More information about the CMake
mailing list