[CMake] Type of Build

Luca Cappa luca.cappa at i-medlab.com
Thu Jan 20 10:18:53 EST 2005


Jan Woetzel wrote:

> Luca Cappa wrote:
>
>> how to specify the type of build  (debug or release/optimized) when 
>> invoking cmake?
>
>
> cmake -DCMAKE_BUILD_TYPE:STRING=Debug   <sourcedir>
>
Thanks.
Anyway I havent found the definition of that variable in the docs 
available on cmake.org, or i skipped it. Where does the best 
documentation reside?

Greetings,
Luca


More information about the CMake mailing list