Up to now we update the library version inside CMakeLists.txt manually. I think a more efficienct way would be to read the latest git tag name inside the cmake system so that just tagging is enough to define a human version.
What do you think?
the cmake variable LIBRARY_VERSION inside cmake could be simply filled by a call to a git command that returns the latest tag.
Up to now we update the library version inside
CMakeLists.txtmanually. I think a more efficienct way would be to read the latest git tag name inside thecmakesystem so that just tagging is enough to define a human version.What do you think?
the cmake variable
LIBRARY_VERSIONinside cmake could be simply filled by a call to agitcommand that returns the latest tag.