From: Thomas Jarosch Date: Mon, 17 Oct 2011 09:00:40 +0000 (+0200) Subject: Enable all compile warnings X-Git-Tag: v2.6~34 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ca5e0bedc127288c43391829cb0454a9a79a4059;p=libi2ncommon Enable all compile warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e97c04..90cc27a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,9 @@ if(${CMAKE_BUILD_TYPE} STREQUAL Debug) add_definitions(-DDEBUG) endif(${CMAKE_BUILD_TYPE} STREQUAL Debug) +# Enable all warnings +add_definitions("-Wall") + # Set components set(CPACK_COMPONENTS_ALL sharedlibs staticlibs headers) set(CPACK_COMPONENT_SHAREDLIBS_DISPLAY_NAME "Shared libraries")