Ninja: add some hacks for Windows

This commit is contained in:
Peter Kuemmel
2012-02-19 11:30:07 +01:00
parent 895914881b
commit adb54f3dbf
3 changed files with 15 additions and 2 deletions
+4
View File
@@ -367,6 +367,10 @@ SET(SRCS ${SRCS}
cmNinjaUtilityTargetGenerator.h
)
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
IF(WIN32)
# TODO remove
ADD_DEFINITIONS(-DENABLE_WIN32_NINJA_HACKS)
endif()
# create a library used by the command line and the GUI
ADD_LIBRARY(CMakeLib ${SRCS})