Advertisement
ShalokShalom

cmake/ProjectOptions.cmake

Jul 5th, 2024
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 1.34 KB | None | 0 0
  1. include(CMakeDependentOption)
  2.  
  3. # Define options
  4. option(PROFILING "Enable profiling with gprof" OFF)
  5. option(TESTS "Whether to compile unit tests" OFF)
  6. option(GUI_TESTS "Whether to compile GUI unit tests" OFF)
  7. option(CARLA "Use Carla to wrap some plugins" ON)
  8. option(JACK "Compile with JACK support" ON)
  9. option(LSP_DSP "Build with LSP DSP support for optimized DSP" ON)
  10. option(MANPAGE "Build and install manpage" ON)
  11. option(COMPLETIONS "Build and install shell completions" ON)
  12. option(USER_MANUAL "Build and install user manual" OFF)
  13. option(DSEG_FONT "Install the DSEG14 font" ON)
  14. option(EXTRA_OPTIMIZATIONS "Turn on target machine-specific optimizations" ON)
  15. option(CHECK_UPDATES "Whether to check for updates on startup" ON)
  16.  
  17. # More options can be added here
  18.  
  19. set(PROGRAM_NAME "Zrythm" CACHE STRING "Program name to display in the UI")
  20. set(PROGRAM_NAME_LOWERCASE ${PROGRAM_NAME})
  21. string(TOLOWER ${PROGRAM_NAME_LOWERCASE} PROGRAM_NAME_LOWERCASE)
  22.  
  23. set(COPYRIGHT_NAME "The ${PROGRAM_NAME} contributors")
  24. set(COPYRIGHT_YEARS "2018-2024")
  25. set(MAIN_REPO_URL "https://gitlab.zrythm.org/zrythm/zrythm")
  26. set(ISSUE_TRACKER_URL "${MAIN_REPO_URL}/-/issues")
  27. set(CHATROOM_URL "https://matrix.to/#/#zrythmdaw:matrix.org")
  28. set(USER_MANUAL_URL "https://manual.zrythm.org/en/index.html")
  29. set(FAQ_URL "https://manual.zrythm.org/en/getting-started/faq.html")
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement