From 45c864dcf58c4de67ab398acfce4d25c9166ac1b Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 23 Jun 2010 14:08:22 +0000 Subject: [PATCH] Activate -Wall. --- vlsisapd/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vlsisapd/CMakeLists.txt b/vlsisapd/CMakeLists.txt index bf1573ec..41cf2161 100644 --- a/vlsisapd/CMakeLists.txt +++ b/vlsisapd/CMakeLists.txt @@ -4,6 +4,11 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) LIST(INSERT CMAKE_MODULE_PATH 0 "${VLSISAPD_SOURCE_DIR}/cmake_modules") +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) + FIND_PACKAGE(LibXml2 REQUIRED) FIND_PACKAGE(PythonSitePackages REQUIRED)