Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include(CMakeDependentOption)
- # Define options
- option(PROFILING "Enable profiling with gprof" OFF)
- option(TESTS "Whether to compile unit tests" OFF)
- option(GUI_TESTS "Whether to compile GUI unit tests" OFF)
- option(CARLA "Use Carla to wrap some plugins" ON)
- option(JACK "Compile with JACK support" ON)
- option(LSP_DSP "Build with LSP DSP support for optimized DSP" ON)
- option(MANPAGE "Build and install manpage" ON)
- option(COMPLETIONS "Build and install shell completions" ON)
- option(USER_MANUAL "Build and install user manual" OFF)
- option(DSEG_FONT "Install the DSEG14 font" ON)
- option(EXTRA_OPTIMIZATIONS "Turn on target machine-specific optimizations" ON)
- option(CHECK_UPDATES "Whether to check for updates on startup" ON)
- # More options can be added here
- set(PROGRAM_NAME "Zrythm" CACHE STRING "Program name to display in the UI")
- set(PROGRAM_NAME_LOWERCASE ${PROGRAM_NAME})
- string(TOLOWER ${PROGRAM_NAME_LOWERCASE} PROGRAM_NAME_LOWERCASE)
- set(COPYRIGHT_NAME "The ${PROGRAM_NAME} contributors")
- set(COPYRIGHT_YEARS "2018-2024")
- set(MAIN_REPO_URL "https://gitlab.zrythm.org/zrythm/zrythm")
- set(ISSUE_TRACKER_URL "${MAIN_REPO_URL}/-/issues")
- set(CHATROOM_URL "https://matrix.to/#/#zrythmdaw:matrix.org")
- set(USER_MANUAL_URL "https://manual.zrythm.org/en/index.html")
- set(FAQ_URL "https://manual.zrythm.org/en/getting-started/faq.html")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement