Adds -Wall to the C/C++ flags for any tool using Hurricane.
Sets through FindHURRICANE macro.
This commit is contained in:
parent
2d2c14be2c
commit
e29e1e9951
|
@ -140,4 +140,12 @@ IF(UNIX)
|
|||
HURRICANE_CHECK_LIBRARIES(HURRICANE_GRAPHICAL ${HURRICANE_FIND_REQUIRED})
|
||||
HURRICANE_CHECK_LIBRARIES(HURRICANE_PYTHON ${HURRICANE_FIND_REQUIRED})
|
||||
|
||||
#
|
||||
# Adds -Wall to the C/C++ flags.
|
||||
#
|
||||
SET(CMAKE_C_FLAGS_DEBUG "-g -Wall" CACHE STRING "Debug options." FORCE)
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "-g -Wall" CACHE STRING "Debug options." FORCE)
|
||||
SET(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -Wall" CACHE STRING "Release options." FORCE)
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -Wall" CACHE STRING "Release options." FORCE)
|
||||
|
||||
ENDIF(UNIX)
|
||||
|
|
Loading…
Reference in New Issue