[CMake] Multiple build types at one go

Marcin Gil marcin.gil at gmail.com
Thu Jan 4 09:52:09 EST 2007


On 1/4/07, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
>
>
> You could setup two out-of-source buildtrees and compile each with a
> different buildtype. Is this good enough ?


Hmm.. never thought of this. So my layout would be

build/
  /debug
  /release

go in both directories in build and issue cmake -DCMAKE_BUILD_TYPE=Debug -G
"NMake Makefiles" path/to/source/tree and with type Release respectively.
Yes?

PS. Sorry, I'm quite new to CMake and docs are not as much compelling as I
would like them to be.
Thanks!
-Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070104/499868b0/attachment-0001.html


More information about the CMake mailing list