Ninja: disable unfinished Windows ninja support
This way the branch is ready-to-merge, even when the generator is broken on Windows.
This commit is contained in:
parent
adb54f3dbf
commit
3b84741515
@ -353,7 +353,8 @@ IF (WIN32)
|
|||||||
ENDIF(NOT UNIX)
|
ENDIF(NOT UNIX)
|
||||||
ENDIF (WIN32)
|
ENDIF (WIN32)
|
||||||
|
|
||||||
SET(SRCS ${SRCS}
|
if(NOT WIN32)
|
||||||
|
SET(SRCS ${SRCS}
|
||||||
cmGlobalNinjaGenerator.cxx
|
cmGlobalNinjaGenerator.cxx
|
||||||
cmGlobalNinjaGenerator.h
|
cmGlobalNinjaGenerator.h
|
||||||
cmNinjaTypes.h
|
cmNinjaTypes.h
|
||||||
@ -366,10 +367,7 @@ SET(SRCS ${SRCS}
|
|||||||
cmNinjaUtilityTargetGenerator.cxx
|
cmNinjaUtilityTargetGenerator.cxx
|
||||||
cmNinjaUtilityTargetGenerator.h
|
cmNinjaUtilityTargetGenerator.h
|
||||||
)
|
)
|
||||||
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
|
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
|
||||||
IF(WIN32)
|
|
||||||
# TODO remove
|
|
||||||
ADD_DEFINITIONS(-DENABLE_WIN32_NINJA_HACKS)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# create a library used by the command line and the GUI
|
# create a library used by the command line and the GUI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user