Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 29b84b57 authored by MERCIER Michael's avatar MERCIER Michael
Browse files

[misc] Put the version in a file

Because it is obvious for externals users
It simpler to find and to modifiy
parent 33994706
...@@ -96,7 +96,8 @@ include_directories(${INTERVALSET_INCLUDE_DIR}) ...@@ -96,7 +96,8 @@ include_directories(${INTERVALSET_INCLUDE_DIR})
################## ##################
# Batsim version # # Batsim version #
################## ##################
set(default_batsim_version "v2.0.0") file(READ "VERSION" from_file_version)
set(default_batsim_version "${from_file_version}")
include(GetGitRevisionDescription) include(GetGitRevisionDescription)
git_describe(batsim_version) git_describe(batsim_version)
message(STATUS "Batsim version from git: ${batsim_version}") message(STATUS "Batsim version from git: ${batsim_version}")
......
v3.0.0-alpha
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment