X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eebeda316738017bffec575a8a37a3307a4bdb9d..6aef63b1290da4be0e1e1d4ae05907d0d6884a2e:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 61d40e484d..9923d2548b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,9 @@ project(SimGrid C) if (enable_gtnets OR enable_ns3) enable_language(CXX) endif() + +enable_language(CXX) + if (NOT DEFINED enable_smpi OR enable_smpi) # smpi is enabled by default # Call enable_language(Fortran) in order to load the build rules for # this language, needed by teshsuite/smpi/mpich-test/. Use @@ -52,12 +55,19 @@ set(CMAKE_Fortran_LINK_FLAGS "" CACHE TYPE INTERNAL FORCE) set(SIMGRID_VERSION_MAJOR "3") set(SIMGRID_VERSION_MINOR "11") set(SIMGRID_VERSION_PATCH "0") +set(SIMGRID_VERSION_EXTRA "-devel") # Extra words to add to version string (e.g. -rc1) + +set(SIMGRID_VERSION_DATE "2013") # Year for copyright information if(${SIMGRID_VERSION_PATCH} EQUAL "0") set(release_version "${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}") else() set(release_version "${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}.${SIMGRID_VERSION_PATCH}") endif() + +set(SIMGRID_VERSION_STRING + "SimGrid version ${release_version}${SIMGRID_VERSION_EXTRA}\\nCopyright (c) ${SIMGRID_VERSION_DATE}. The Simgrid Team.") + set(libsimgrid_version "${release_version}") set(libsimgrid-java_version "${release_version}") set(GCC_NEED_VERSION "4.0")