-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
The VERSION_CURRENT file is currently allowed to be specified as one of three options:
- None: BUILD_VERSION is set directly.
- ${PROJECT_SOURCE_DIR}/build/VERSION_CURRENT if (1) was not satisfied.
- ${CMAKE_BINARY_DIR}/VERSION_CURRENT, either already existing or generated by etc/calc_release_version.py, when (2) is not satisfied.
The placement of VERSION_CURRENT under ./build is unusual. We should consider moving it (2) into the root directory, and also move the location of the generated file (3) to the root directory as well, for consistency.
Consider also ensuring the VERSION_CURRENT file is generated if BUILD_VERSION is set manually.