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,23 +353,21 @@ IF (WIN32)
|
|||
ENDIF(NOT UNIX)
|
||||
ENDIF (WIN32)
|
||||
|
||||
SET(SRCS ${SRCS}
|
||||
cmGlobalNinjaGenerator.cxx
|
||||
cmGlobalNinjaGenerator.h
|
||||
cmNinjaTypes.h
|
||||
cmLocalNinjaGenerator.cxx
|
||||
cmLocalNinjaGenerator.h
|
||||
cmNinjaTargetGenerator.cxx
|
||||
cmNinjaTargetGenerator.h
|
||||
cmNinjaNormalTargetGenerator.cxx
|
||||
cmNinjaNormalTargetGenerator.h
|
||||
cmNinjaUtilityTargetGenerator.cxx
|
||||
cmNinjaUtilityTargetGenerator.h
|
||||
)
|
||||
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
|
||||
IF(WIN32)
|
||||
# TODO remove
|
||||
ADD_DEFINITIONS(-DENABLE_WIN32_NINJA_HACKS)
|
||||
if(NOT WIN32)
|
||||
SET(SRCS ${SRCS}
|
||||
cmGlobalNinjaGenerator.cxx
|
||||
cmGlobalNinjaGenerator.h
|
||||
cmNinjaTypes.h
|
||||
cmLocalNinjaGenerator.cxx
|
||||
cmLocalNinjaGenerator.h
|
||||
cmNinjaTargetGenerator.cxx
|
||||
cmNinjaTargetGenerator.h
|
||||
cmNinjaNormalTargetGenerator.cxx
|
||||
cmNinjaNormalTargetGenerator.h
|
||||
cmNinjaUtilityTargetGenerator.cxx
|
||||
cmNinjaUtilityTargetGenerator.h
|
||||
)
|
||||
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
|
||||
endif()
|
||||
|
||||
# create a library used by the command line and the GUI
|
||||
|
|
Loading…
Reference in New Issue