Add symbolic VERSION file

The VERSION.cmake file defines which VERSION.cmake file is included. By
changing the file that it points to, the version can be changed without it
affecting other parts of the code that use it.
This commit is contained in:
Markus Mäkelä
2018-09-10 15:11:18 +03:00
parent 8896b0275f
commit 31f6d49ddb
4 changed files with 7 additions and 6 deletions

View File

@ -1,2 +1,2 @@
include(../VERSION22.cmake)
include(../VERSION.cmake)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lib/version.js.in ${CMAKE_CURRENT_BINARY_DIR}/lib/version.js @ONLY)