[CMake] Debug/Release configurations for codeblocks ?

Olaf van der Spek olafvdspek at gmail.com
Mon Jul 26 13:02:58 EDT 2010


On Mon, Jul 26, 2010 at 6:59 PM, Michael Wild <themiwi at gmail.com> wrote:
>
> On 26. Jul, 2010, at 18:49 , Olaf van der Spek wrote:
>
>> On Sun, Jul 25, 2010 at 6:58 PM, Alexander Neundorf
>> <a.neundorf-work at gmx.net> wrote:
>>> Hmm, the Codeblocks generator is makefile-based.
>
> It is single-configuration.

First let me say I don't know Code Blocks.
The question implies Code Blocks project files support multiple configurations.
So what does "is single-configuration."?

Olaf

> Patches are welcome ;-) I don't think it would be too hard to implement, mostly some Makefile magic, deferring a lot from CMake-time to build-time. However I'm unsure as to how people will like it.

Why?

> An there remains the question of how to select the build type from the command line. I'd hate having to pass make a variable definition...

Have a default type in CMakeLists?

Olaf


More information about the CMake mailing list