[CMake] nmake build with different options at command line

Chauhan, Vikas vikas.chauhan at anritsu.com
Thu Feb 18 12:07:37 EST 2010


Thanks but is it possible from command line. 
For example we already have a similar option when cmake is used to build
i.e 
cmd> cmake --build .. --config= Release

thanks,
Vikas
> -----Original Message-----
> From: Bill Hoffman [mailto:bill.hoffman at kitware.com]
> Sent: 18 February 2010 13:09
> To: Chauhan, Vikas
> Cc: cmake at cmake.org
> Subject: Re: [CMake] nmake build with different options at command
line
> 
> 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