-option(enable_documentation "Whether to produce documentation" on)
-option(enable_ns3 "Whether ns3 model is activated." off)
-option(enable_java "Whether the Java bindings are activated." off)
-option(enable_scala "Whether the Scala bindings are activated." off)
-option(enable_lua "Whether the Lua bindings are activated." off)
-option(enable_compile_warnings "Whether compilation warnings should be turned into errors." off)
-option(enable_maintainer_mode "Whether flex and flexml files should be rebuilt." off)
-option(enable_tracing "Tracing simulations for visualization." on)
-option(enable_latency_bound_tracking "" off)
-option(enable_coverage "Whether coverage should be enabled." off)
-option(enable_ust "Enable userspace static tracepoint (lttng-ust)." off)
-option(enable_sdt "Enable statically defined tracepoint (strace/systemtap)." off)
-mark_as_advanced(enable_coverage)
-option(enable_memcheck "Enable memcheck." off)
-option(enable_memcheck_xml "Enable memcheck with xml output." off)
-mark_as_advanced(enable_memcheck)
-mark_as_advanced(enable_memcheck_xml)
-option(enable_mallocators "Enable mallocators (disable only for debugging purpose)." on)
-option(enable_print_message "Enable print message during config." off)
-mark_as_advanced(enable_print_message)
+option(enable_compile_warnings "Whether compilation warnings should be turned into errors." off)
+option(enable_lto "Whether we should try to activate the LTO (link time optimisation)" on)
+option(enable_mallocators "Enable mallocators (disable only for debugging purpose)." on)
+option(enable_maintainer_mode "Whether flex and flexml files should be rebuilt." off)
+option(enable_debug "Turn this off to remove all debug messages at compile time (faster, but no debug activatable)" on)
+
+# Optional modules
+###
+option(enable_documentation "Whether to produce documentation" off)
+
+option(enable_ns3 "Whether ns-3 model is activated." off)
+option(enable_java "Whether the Java bindings are activated." off)
+option(enable_msg "Whether the MSG module is activated." off)
+option(enable_lib_in_jar "Whether the native libraries are bundled in a Java jar file" on)
+option(minimal-bindings "Whether to compile the bindings libraries (Java/Python) with the minimal dependency set" off)
+mark_as_advanced(minimal-bindings)
+if(minimal-bindings)
+ set(enable_lib_in_jar on)
+endif()
+