New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sirf version to be available at C++ level #874
Comments
I suggest this to be made available from the output of |
I'm not a fan of
That implies we are at version 4.1, but actually STIR PS: CIL really shouldn't use |
I find it rather clean, nice, and mainly it gives a single origin to the version, i.e. the tag in the repository. |
it is informative, but it doesn't allow us to do #if STIR_VERSION 500000
bla
#else
bloe
#endif Having the complete git info as well could be useful of course. What I would then certainly want to avoid is whenever a commit happens, everything gets rebuilt because |
* add version.h generated from the numbers in CMakeLists.txt closes #874 Co-authored-by: Kris Thielemans <KrisThielemans@users.noreply.github.com>
With #872 version strings have been added at Python and MATLAB level, however this should be available in C++.
The text was updated successfully, but these errors were encountered: