This avoids the potential confusion when the source from a git
release banch is used on machines without git. In these cases the
version reported by gromacs binaries would be the same as the
version of an official release, while former might actually
differ from the release in some patches from git.
project(Gromacs)
include(Dart)
mark_as_advanced(DART_ROOT)
project(Gromacs)
include(Dart)
mark_as_advanced(DART_ROOT)
# PROJECT_VERSION should have the following structure:
# PROJECT_VERSION should have the following structure:
-# VERSION[-dev-SUFFIX] where the VERSION can have any form and the suffix
-set(PROJECT_VERSION "4.5.1")
+# VERSION-dev[-SUFFIX] where the VERSION should have the for: vMajor.vMinor.vPatch
+#
+# The "-dev" suffix is important to keep because it makes possible to distinguish
+# between a build from official release and a build from git release branch on a
+# machine with no git.
+#
+# NOTE: when releasing the "-dev" suffix needs to be stripped off!
+set(PROJECT_VERSION "4.5.1-dev")
set(CUSTOM_VERSION_STRING ""
CACHE STRING "Custom version string (if empty, use hard-coded default)")
mark_as_advanced(CUSTOM_VERSION_STRING)
set(CUSTOM_VERSION_STRING ""
CACHE STRING "Custom version string (if empty, use hard-coded default)")
mark_as_advanced(CUSTOM_VERSION_STRING)