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.hoff...@kitware.com] > Sent: 18 February 2010 13:09 > To: Chauhan, Vikas > Cc: cmake@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.hoff...@kitware.com > http://www.kitware.com > 518 881-4905 (Direct) > 518 371-3971 x105 > Fax (518) 371-4573 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake