I find addig this line helps.
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
${CMAKE_CONFIGURATION_TYPES} debug release RelWithDebInfo MinSizeRel )
which makes cmake_build_type a drop list to chose.
On Fri, Apr 12, 2013 at 11:53 AM, liulewes wrote:
> I'm using cmake to build my own pro
I'm using cmake to build my own project under centOS 6. During configuration,
cmake asked me to choose the type of build; however, whatever I typed in for
CMAKE_BUILD_TYPE, it won't let me proceed. Anyone can give a hint?
I using cmake 2.8.10.2 compiled in centOS 6. Thanks.
Best,
Lewes
hi,
i have two questions:
i'm building a VS 2005 project with cmake 2.6
*FIRST *i want to set different flags in debug and release build so i wrote
this
if(MSVC_VERSION)
#flags dans le cas release
IF(CMAKE_BUILD_TYPE MATCHES Release|Win32)
set_target_properties(helloDemo PROPERTIES
LI