[CMake] nmake build with different options at command line

Bill Hoffman bill.hoffman at kitware.com
Thu Feb 18 08:09:17 EST 2010


Chauhan, Vikas wrote:
> Hi,
> 
> Is it possible to specify the build options such as release/debug etc
> when building the nmake files generated by cmake ?
> 

Set CMAKE_BUILD_TYPE in the cache.

-Bill

-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list