]> AND Public Git Repository - simgrid.git/blobdiff - buildtools/Cmake/Option.cmake
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add more debug messages and add flag _I_X86 on windows platform
[simgrid.git] / buildtools / Cmake / Option.cmake
index f17905ec69a78d2b554b87146a3c27c89114fcdb..de8377d40d0c79503cdef1185c0d812d27f654bb 100644 (file)
@@ -32,6 +32,14 @@ option(enable_print_message "Enable print message during config." off)
 option(enable_model-checking "" off)
 option(enable_lib_static "" off)
 option(enable_jedule "Jedule output of SimDAG." off)
+option(enable_debug "Set NDEBUG flag" on)
+option(enable_supernovae "Whether Supernovae mode (helping compiler optimization) is activated." on)
+
+if(enable_supernovae AND enable_model-checking)
+       set(enable_model-checking false CACHE TYPE INTERNAL FORCE)
+       message("\n\nWith supernovae mode the model checking must be disable.!!!\n\n")
+endif(enable_supernovae AND enable_model-checking)
+
 
 mark_as_advanced(HAVE_SSH)
 mark_as_advanced(HAVE_RSYNC)