mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 00:18:43 +00:00
Changed: Display a message when compiling with NMake and define NMAKE
This commit is contained in:
parent
30a8cc1fe3
commit
3833a51003
1 changed files with 5 additions and 0 deletions
|
@ -416,6 +416,11 @@ MACRO(NL_SETUP_BUILD)
|
||||||
MESSAGE(STATUS "Generating Xcode project")
|
MESSAGE(STATUS "Generating Xcode project")
|
||||||
ENDIF(CMAKE_GENERATOR MATCHES "Xcode")
|
ENDIF(CMAKE_GENERATOR MATCHES "Xcode")
|
||||||
|
|
||||||
|
IF(CMAKE_GENERATOR MATCHES "NMake")
|
||||||
|
SET(NMAKE ON)
|
||||||
|
MESSAGE(STATUS "Generating NMake project")
|
||||||
|
ENDIF(CMAKE_GENERATOR MATCHES "NMake")
|
||||||
|
|
||||||
# If target and host CPU are the same
|
# If target and host CPU are the same
|
||||||
IF("${HOST_CPU}" STREQUAL "${TARGET_CPU}" AND NOT CMAKE_CROSSCOMPILING)
|
IF("${HOST_CPU}" STREQUAL "${TARGET_CPU}" AND NOT CMAKE_CROSSCOMPILING)
|
||||||
# x86-compatible CPU
|
# x86-compatible CPU
|
||||||
|
|
Loading…
Reference in a new issue