Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow to specify on cmake command line whether we want LTO
[simgrid.git] / tools / cmake / Option.cmake
index 760c89b..4c3bb53 100644 (file)
@@ -50,6 +50,7 @@ mark_as_advanced(enable_print_message)
 option(enable_model-checking "Turn this on to experiment with our prototype of model-checker (hinders the simulation's performance even if turned off at runtime)" off)
 option(enable_lib_static "" off)
 option(enable_lib_in_jar "Whether the native libraries are bundled in a Java jar file" on)
+option(enable_lto "Whether we should try to activate the LTO (link time optimisation)" on)
 option(enable_jedule "Jedule output of SimDAG." off)
 option(enable_debug "Turn this off to remove all debug messages at compile time (faster, but no debug activatable)" on)
 option(enable_msg_deprecated "This option enables the use of deprecated MSG functions" off)