Version not updated in CMakeLists.txt
In CMakeLists.txt the version set in project does not correspond with the the version of the release:
Release "0.9.0"
project(
emio
VERSION 0.2.0
DESCRIPTION "Character input/output library for embedded systems."
HOMEPAGE_URL "https://github.com/viatorus/emio"
LANGUAGES CXX
)
Thank you for the report.
What is your workflow in which this is a problem? Just to understand the process behind it. I will adapt the version soon.
No, no problems at all :-) I'm using the library for almost a year now and never experienced any bugs. Anyway, I decided to update it to the latest released version and when I was looking into the CMakeLists.txt I noticed the version number there. I was then a little bit confused, what version I'm using.
So I think it is a good idea to keep the version numbers in sync, otherwise it can cause confussion.
Thanks for your great work!
I am unsure how to probably fix this issue. I think I have 3 options:
- drop the version parameter at all since Git is all we need
- update it BEFORE every new release - somewhat strenuous, for something I don't know what it is used for
- try to get the version from git tag - but CMake only allows Major.Minor.Patch - how to handle - intermediate versions?