diff options
author | Sebastian Schmelzer | 2011-02-21 19:12:58 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2011-02-21 19:12:58 +0100 |
commit | 6d0111d16d6d22ffa8a54e6ed165b333ca64b4b0 (patch) | |
tree | d8ef3dcbb73a22b2e741692ed1f570f4e2af6fe9 | |
parent | [PVSMGR] New dummy icon (diff) | |
download | pvs-6d0111d16d6d22ffa8a54e6ed165b333ca64b4b0.tar.gz pvs-6d0111d16d6d22ffa8a54e6ed165b333ca64b4b0.tar.xz pvs-6d0111d16d6d22ffa8a54e6ed165b333ca64b4b0.zip |
add warnings for unused, unreachable code
moved cmake (module) files to cmake dir
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | cmake/FindVNC.cmake (renamed from FindVNC.cmake) | 0 | ||||
-rw-r--r-- | cmake/OpenPGMConfig.cmake (renamed from OpenPGMConfig.cmake) | 0 | ||||
-rw-r--r-- | cmake/Uninstall.cmake (renamed from Uninstall.cmake) | 0 |
4 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f45fda8..4f8aa11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,13 +10,13 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.6.2 ) # set compiler optimizations for debug and release SET(CMAKE_BUILD_TYPE Debug) -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall") +SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Wunused -Wunreachable-code") SET(CMAKE_C_FLAGS_RELEASE "-O3 -march=native") SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall") SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -DQT_NO_DEBUG_OUTPUT" ) # local cmake modules -SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}) +SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) # this command finds libraries and sets all required variables FIND_PACKAGE( Qt4 4.5.0 REQUIRED ) diff --git a/FindVNC.cmake b/cmake/FindVNC.cmake index 8b460d3..8b460d3 100644 --- a/FindVNC.cmake +++ b/cmake/FindVNC.cmake diff --git a/OpenPGMConfig.cmake b/cmake/OpenPGMConfig.cmake index 1b7adbc..1b7adbc 100644 --- a/OpenPGMConfig.cmake +++ b/cmake/OpenPGMConfig.cmake diff --git a/Uninstall.cmake b/cmake/Uninstall.cmake index dbda3a2..dbda3a2 100644 --- a/Uninstall.cmake +++ b/cmake/Uninstall.cmake |