
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.
3 lines
137 B
CMake
3 lines
137 B
CMake
include(../VERSION.cmake)
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lib/version.js.in ${CMAKE_CURRENT_BINARY_DIR}/lib/version.js @ONLY)
|