loom
1set(SIMODO_VERSION_MAJOR 0)
2set(SIMODO_VERSION_MINOR 7)
3set(SIMODO_VERSION
4"${SIMODO_VERSION_MAJOR}.${SIMODO_VERSION_MINOR}")
5execute_process(
6COMMAND "date" "+%Z_%Y.%m.%d_%H.%M"
7OUTPUT_VARIABLE SIMODO_VERSION_BUILD
8OUTPUT_STRIP_TRAILING_WHITESPACE)
9
10configure_file(${CMAKE_CURRENT_LIST_DIR}/VERSION.md.in
11${CMAKE_CURRENT_LIST_DIR}/VERSION.md)
12