Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update nsis script.
[simgrid.git] / buildtools / Cmake / Option.cmake
index f17905e..de8377d 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)