forked from audacity/audacity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.cmake
29 lines (24 loc) · 1000 Bytes
/
version.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set(MUSE_APP_NAME "Audacity")
set(MUSE_APP_TITLE "Audacity")
set(MUSE_APP_GUI_IDENTIFIER org.audacity.${MUSE_APP_NAME})
set(MUSE_APP_VERSION_MAJOR "4")
set(MUSE_APP_VERSION_MINOR "0")
set(MUSE_APP_VERSION_PATCH "0")
set(MUSE_APP_VERSION_MAJ_MIN "${MUSE_APP_VERSION_MAJOR}.${MUSE_APP_VERSION_MINOR}")
set(MUSE_APP_VERSION "${MUSE_APP_VERSION_MAJ_MIN}.${MUSE_APP_VERSION_PATCH}")
set(MUSE_APP_VERSION_LABEL "")
set(MUSE_APP_NAME_VERSION "${MUSE_APP_NAME} ${MUSE_APP_VERSION_MAJOR}")
set(MUSE_APP_UNSTABLE ON)
set(MUSE_APP_IS_PRERELEASE ON)
if(MUSE_APP_BUILD_MODE MATCHES "dev")
set(MUSE_APP_RELEASE_CHANNEL "devel")
endif()
if(MUSE_APP_BUILD_MODE MATCHES "testing")
set(MUSE_APP_RELEASE_CHANNEL "testing")
endif()
if(MUSE_APP_BUILD_MODE MATCHES "release")
set(MUSE_APP_RELEASE_CHANNEL "stable")
endif()
# Print variables which are needed by CI build scripts.
message(STATUS "MUSE_APP_RELEASE_CHANNEL ${MUSE_APP_RELEASE_CHANNEL}")
message(STATUS "MUSE_APP_VERSION ${MUSE_APP_VERSION}")