mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Changed: Display a message when compiling with NMake and define NMAKE
This commit is contained in:
parent
a52df4c710
commit
969d9a057d
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