mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-19 06:29:10 +03:00
create version file
This commit is contained in:
parent
e5d75f1cfe
commit
e4141362e5
@ -10,6 +10,10 @@ set(GITTYUP_VERSION
|
||||
"${GITTYUP_VERSION_MAJOR}.${GITTYUP_VERSION_MINOR}.${GITTYUP_VERSION_PATCH}"
|
||||
)
|
||||
|
||||
# Write version to file so it can be used also from external, for example
|
||||
# in the github manifest
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/Version.txt" ${GITTYUP_VERSION})
|
||||
|
||||
set(DEV_BUILD "" CACHE STRING "Mark this build as a development build with the given description")
|
||||
|
||||
if (DEV_BUILD)
|
||||
|
Loading…
Reference in New Issue
Block a user