File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ string(REGEX REPLACE "#define OCS_VERSION_MINOR ([0-9]*)" "\\1" VERSION_MINOR "$
32
32
string (REGEX REPLACE "#define OCS_VERSION_PATCH ([0-9]*)" "\\ 1" VERSION_PATCH "${VERSION_PATCH} " )
33
33
string (REGEX REPLACE "#define OCS_VERSION_SUFFIX \" ([a-z0-0\- ]*)\" " "\\ 1" VERSION_SUFFIX "${VERSION_SUFFIX} " )
34
34
35
+ # @todo Following step should only be done once even if cmake runs in parallel on multiple hosts
35
36
# Set the version string and use it to set the version within inst_sge
36
37
#set(OCS_VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX}")
37
38
#configure_file(
Original file line number Diff line number Diff line change 39
39
#define OCS_VERSION_MAJOR 9
40
40
#define OCS_VERSION_MINOR 0
41
41
#define OCS_VERSION_PATCH 3
42
- #define OCS_VERSION_SUFFIX " alpha "
42
+ #define OCS_VERSION_SUFFIX " "
43
43
44
44
const std::string ocs::Version::OCS_VERSION_STRING = std::to_string(OCS_VERSION_MAJOR) + " ."
45
45
+ std::to_string(OCS_VERSION_MINOR) + " ." + std::to_string(OCS_VERSION_PATCH) + OCS_VERSION_SUFFIX;
You can’t perform that action at this time.
0 commit comments