Open johnson329llnl opened 10 months ago
Apologies for the delay responding; I'm still getting used to checking for GitHub issues, rather than our interal JIRA tickets.
The version number is the tag applied to the master/main branch (for example, right now the tag string is g4cmp-V08-05-00
). When you build G4CMP from a Git clone, it uses git describe
to get the version number and stash it in a .g4cmp-version, which is then read back by G4CMPConfigManager::setVersion()
.
If you got G4CMP from a tarball, it won't have the .git directory needed for git describe
to work; if you want to set the version string in your build under those circumstances, the -DG4CMP_VERSION
option is available.
in the readme file there is an instruction, "Use the
-DG4CMP_VERSION=X.Y.Z
option for this purpose.". Maybe I am not seeing the trees in the forest, but where is the version number?Sincerely, Micah