Increase warning level for modules and main library in Unix

This commit is contained in:
Alexander Bock
2015-05-27 13:15:52 +02:00
parent fb222d4e7a
commit 630fc3fc96
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ function (set_common_compile_settings target_name)
message(FATAL_ERROR "Compiler does not have C++11 support")
endif ()
target_compile_options(${library_name} PUBLIC "-ggdb")
target_compile_options(${library_name} PUBLIC "-ggdb" "-Wall" "-Wno-long-long" "-pedantic" "-Wextra")
if (OPENSPACE_WARNINGS_AS_ERRORS)
target_compile_options(${library_name} PUBLIC "-Werror")
endif ()
+2 -1
View File
@@ -140,7 +140,8 @@ function (set_compile_settings)
target_compile_options(OpenSpace PUBLIC "-Werror")
endif ()
target_compile_options(libOpenSpace PUBLIC "-ggdb")
target_compile_options(libOpenSpace PUBLIC "-ggdb" "-Wall" "-Wno-long-long" "-pedantic" "-Wextra")
target_compile_options(OpenSpace PUBLIC "-ggdb" "-Wall" "-Wno-long-long" "-pedantic" "-Wextra")
endif ()
endfunction ()