summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-13 21:25:24 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-06-13 21:25:24 (GMT)
commit2077e98753a505490d16cba42af0e0cae04f2c36 (patch)
tree5e20749a58594e76eeedd2608e0ef273b23d2725 /Source
parent6e2ef9860e2c9c8f3664bd2a568d880019be7761 (diff)
downloadCMake-2077e98753a505490d16cba42af0e0cae04f2c36.zip
CMake-2077e98753a505490d16cba42af0e0cae04f2c36.tar.gz
CMake-2077e98753a505490d16cba42af0e0cae04f2c36.tar.bz2
Ninja: Enable the ninja generator by default on Windows.
All tests are passing as of this morning on the CMake dashboard in the Nightly Expected section. Nice job to all the Ninja+CMake contributors. Congrats!
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 46bdec6..e9ac0ed 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -361,11 +361,11 @@ ENDIF (WIN32)
# on platforms where it does not pass all tests.
# Enforce Ninja support by setting CMAKE_USE_NINJA
set(_CMAKE_DEFAULT_NINJA_VALUE TRUE)
-if(WIN32 OR APPLE)
+if(APPLE)
SET(_CMAKE_DEFAULT_NINJA_VALUE FALSE)
endif()
SET(CMAKE_ENABLE_NINJA ${_CMAKE_DEFAULT_NINJA_VALUE} CACHE BOOL
- "Enable the ninja generator for CMake. On Windows and OSX broken")
+ "Enable the ninja generator for CMake. When enabled, some CMake tests still fail on OSX")
MARK_AS_ADVANCED(CMAKE_ENABLE_NINJA)
IF(CMAKE_ENABLE_NINJA)
MESSAGE(STATUS "Ninja generator enabled.")
@@ -384,7 +384,7 @@ IF(CMAKE_ENABLE_NINJA)
)
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
ELSE()
- MESSAGE(STATUS "Ninja generator disabled, enforce with -DCMAKE_ENABLE_NINJA=ON")
+ MESSAGE(STATUS "Ninja generator disabled, enable it with -DCMAKE_ENABLE_NINJA=ON")
ENDIF()
# create a library used by the command line and the GUI