|
|
|
@ -64,6 +64,7 @@ MACRO(NL_ADD_RUNTIME_FLAGS name)
|
|
|
|
|
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}")
|
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|
ENDMACRO(NL_ADD_RUNTIME_FLAGS)
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
# Checks build vs. source location. Prevents In-Source builds.
|
|
|
|
|
###
|
|
|
|
@ -228,7 +229,7 @@ MACRO(NL_SETUP_BUILD_FLAGS)
|
|
|
|
|
## MinSizeRel
|
|
|
|
|
SET(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
|
|
|
|
SET(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_CFLAGS} ${PLATFORM_CFLAGS} ")
|
|
|
|
|
SET(LINK_FLAGS_MINSIZEREL "${CMAKE_LINK_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_LINK_CFLAGS} ${PLATFORM_LINKFLAGS} ")
|
|
|
|
|
SET(CMAKE_LINK_FLAGS_MINSIZEREL "${CMAKE_LINK_FLAGS_MINSIZEREL} ${NL_RELEASEDEBUG_LINK_CFLAGS} ${PLATFORM_LINKFLAGS} ")
|
|
|
|
|
ENDMACRO(NL_SETUP_BUILD_FLAGS)
|
|
|
|
|
|
|
|
|
|
MACRO(NL_SETUP_PREFIX_PATHS)
|
|
|
|
|