Enable all compile warnings
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 17 Oct 2011 09:00:40 +0000 (11:00 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 17 Oct 2011 09:00:40 +0000 (11:00 +0200)
CMakeLists.txt

index 1e97c04..90cc27a 100644 (file)
@@ -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")