mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 17:59:02 +00:00
Changed: Display a message when compiling with NMake and define NMAKE
This commit is contained in:
parent
c0b33989e2
commit
d387c59649
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