|
|
|
@ -102,7 +102,10 @@ MACRO(NL_SETUP_BUILD)
|
|
|
|
|
IF(WITH_COVERAGE)
|
|
|
|
|
SET(PLATFORM_CFLAGS "-fprofile-arcs -ftest-coverage ${PLATFORM_CFLAGS}")
|
|
|
|
|
ENDIF(WITH_COVERAGE)
|
|
|
|
|
SET(PLATFORM_LINKFLAGS "${CMAKE_THREAD_LIBS_INIT} -lc -lm -lstdc++ -lrt")
|
|
|
|
|
SET(PLATFORM_LINKFLAGS "${CMAKE_THREAD_LIBS_INIT} -lc -lm -lstdc++")
|
|
|
|
|
IF(NOT APPLE)
|
|
|
|
|
SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -lrt")
|
|
|
|
|
ENDIF(NOT APPLE)
|
|
|
|
|
SET(NL_DEBUG_CFLAGS "-DNL_DEBUG -g")
|
|
|
|
|
SET(NL_RELEASE_CFLAGS "-DNL_RELEASE -O6")
|
|
|
|
|
SET(NL_RELEASEDEBUG_CFLAGS "-DNL_RELEASE_DEBUG -g -finline-functions -O3 ")
|
|
|
|
|