2 ms·
For those of you using CMake, have a look at the module below: https://github.com/xrootd/xrootd/blob/master/cmake/XRootDVersion.cmake https://github.com/xrootd
by amadio 11mo ago
For those of you using CMake, have a look at the module below:
https://github.com/xrootd/xrootd/blob/master/cmake/XRootDVersion.cmake https://github.com/xrootd/xrootd/blob/master/cmake/XRootDVer...
and also the genversion.sh script at the top of the repo.
I use these plus #cmakedefine and git tags to manage the project version without having to do it via commits.