Commit 50f6f8eb authored by Bastien Jacquet's avatar Bastien Jacquet
Browse files

Add ninja for simpler build

parent af85d004
......@@ -88,6 +88,9 @@ string (STRIP "${cflags}" cflags)
# "Turn this ON to build command lines tools alone." OFF)
if (WIN32)
# Since it only compile with ninja, let's provide it
file(COPY ${SuperBuild_PROJECTS_DIR}/win32/ninja.exe
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
if ( (NOT "${CMAKE_GENERATOR}" MATCHES "^NMake.*$") OR
(NOT "${CMAKE_GENERATOR}" MATCHES "^Visual Studio.*$"))
# not use VS environment. We need to be pointed to nmake and devenv paths
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment