X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16dd4462054b2f22e97c7813f57088d5df7c27d4..454b70c5a1190dabba800aa80c525724859b3935:/buildtools/CPACK/src/CMakeFlags.txt diff --git a/buildtools/CPACK/src/CMakeFlags.txt b/buildtools/CPACK/src/CMakeFlags.txt index ed5dbec368..ecb8bead56 100644 --- a/buildtools/CPACK/src/CMakeFlags.txt +++ b/buildtools/CPACK/src/CMakeFlags.txt @@ -3,6 +3,11 @@ set(optCFLAGS "") set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS}-g3) +if(supernovae) + set(enable_compile_warnings true) + set(enable_compile_optimizations true) +endif(supernovae) + if(CMAKE_C_COMPILER MATCHES "/usr/bin/gcc") if(enable_compile_warnings)