Hi,
I need your help for cMake on windows platforms.
Along with default configuration (Release) I want to add an additional build
type in my configuration (Release_Win2008). I am able to do it using following
code.
SET (CMAKE_C_FLAGS_RELEASE_WIN2008 "")
SET(CMAKE_BUILD_TYPES Release Release_win2008)
SET (CMAKE_CONFIGURATION_TYPES "${CMAKE_BUILD_TYPES}" CACHE STRING "" FORCE)
The problem is that include directories for both the configurations are
different.
In case of "Release" build type i need to have following include directories
INCLUDE_DIRECTORIES(
Z:/src/rel
Z:/bin/NT/openssl/x86/include
)
In case of Release_win2008 i need to have following include directories
INCLUDE_DIRECTORIES(
Z:/src/rel_w2k8
Z:/bin/NT/openssl/x86/include
Z:/bin/NT/openssl_w2k8
)
Could you please help me how do i achieve it so that at the end i can have a
single cMakeLists configuration file which generates one vcProj which supports
both the configurations (mentioned above) with the relevant include directories.
Thanks & Regards,
AJ
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers