X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6fbcdfade89b3812c24152c86f8aa3be510df7f2..4f6f8198545c1c1478a0043cf3f8bfb98942d23a:/tools/cmake/Option.cmake diff --git a/tools/cmake/Option.cmake b/tools/cmake/Option.cmake index 1ac892978f..c4faa2f564 100644 --- a/tools/cmake/Option.cmake +++ b/tools/cmake/Option.cmake @@ -23,17 +23,22 @@ option(enable_debug "Turn this off to remove all debug messages option(enable_documentation "Whether to produce documentation" off) option(enable_ns3 "Whether ns-3 model is activated." off) -option(enable_msg "Whether the MSG module is activated." off) +option(enable_msg "Java was removed from SimGrid v3.33. Please do not enable it here." off) +mark_as_advanced(enable_msg) +if (enable_msg) + message(FATAL_ERROR "MSG was removed from SimGrid v3.33. Please stick to v3.32 or earlier if you need Java.") +endif() + option(enable_java "Java was removed from SimGrid v3.33. Please do not enable it here." off) mark_as_advanced(enable_java) if (enable_java) - message(FATAL "Java was removed from SimGrid v3.33. Please stick to v3.32 or earlier if you need Java.") + message(FATAL_ERROR "Java was removed from SimGrid v3.33. Please stick to v3.32 or earlier if you need Java.") endif() option(minimal-bindings "Whether to compile the Python bindings libraries with the minimal dependency set" off) mark_as_advanced(minimal-bindings) -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_model-checking "Turn this on to experiment with our prototype of model-checker" off) option(enable-model-checking "Please set 'enable_model-checking' instead" off) mark_as_advanced(enable-model-checking) if(enable-model-checking)