[CMake] Missing CMAKE_CONFIGURATION_TYPES with project NONE on Windows
Brad King
brad.king at kitware.com
Fri May 10 11:34:54 EDT 2013
On 05/10/2013 11:23 AM, Paul Smith wrote:
> Is there any way to work around this? I've tried setting
> CMAKE_CONFIGURATION_TYPES before project()
Make sure you set it as a cache entry:
set(CMAKE_CONFIGURATION_TYPES
"Debug;Release;MinSizeRel;RelWithDebInfo"
CACHE STRING "Supported configs")
project(MyProject NONE)
enable_language(C)
enable_language(CXX)
-Brad
More information about the CMake
mailing list