obsconfig.h.in 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma once
  2. #ifndef ON
  3. #define ON 1
  4. #endif
  5. #ifndef OFF
  6. #define OFF 0
  7. #endif
  8. #define OBS_VERSION "@OBS_VERSION@"
  9. #define OBS_VERSION_CANONICAL "@OBS_VERSION_CANONICAL@"
  10. #define OBS_DATA_PATH "@OBS_DATA_PATH@"
  11. #define OBS_INSTALL_PREFIX "@OBS_INSTALL_PREFIX@"
  12. #define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION@"
  13. #define OBS_QT_VERSION @_QT_VERSION@
  14. #cmakedefine OBS_COMMIT "@OBS_COMMIT@"
  15. #cmakedefine LINUX_PORTABLE
  16. #cmakedefine GIO_FOUND
  17. #cmakedefine PULSEAUDIO_FOUND
  18. #cmakedefine XCB_XINPUT_FOUND
  19. #cmakedefine ENABLE_WAYLAND
  20. /* NOTE: Release candidate version numbers internally are always the previous
  21. * main release number! For example, if the current public release is 21.0 and
  22. * the build is 22.0 release candidate 1, internally the build number (defined
  23. * by LIBOBS_API_VER/etc) will always be 21.0, despite the OBS_VERSION string
  24. * saying "22.0 RC1".
  25. *
  26. * If the release candidate version number is 0.0.0 and the RC number is 0,
  27. * that means it's not a release candidate build. */
  28. #define OBS_RELEASE_CANDIDATE_MAJOR @OBS_RELEASE_CANDIDATE_MAJOR@
  29. #define OBS_RELEASE_CANDIDATE_MINOR @OBS_RELEASE_CANDIDATE_MINOR@
  30. #define OBS_RELEASE_CANDIDATE_PATCH @OBS_RELEASE_CANDIDATE_PATCH@
  31. #define OBS_RELEASE_CANDIDATE_VER \
  32. MAKE_SEMANTIC_VERSION(OBS_RELEASE_CANDIDATE_MAJOR, \
  33. OBS_RELEASE_CANDIDATE_MINOR, \
  34. OBS_RELEASE_CANDIDATE_PATCH)
  35. #define OBS_RELEASE_CANDIDATE @OBS_RELEASE_CANDIDATE@
  36. /* Same thing for beta builds */
  37. #define OBS_BETA_MAJOR @OBS_BETA_MAJOR@
  38. #define OBS_BETA_MINOR @OBS_BETA_MINOR@
  39. #define OBS_BETA_PATCH @OBS_BETA_PATCH@
  40. #define OBS_BETA_VER \
  41. MAKE_SEMANTIC_VERSION(OBS_BETA_MAJOR, \
  42. OBS_BETA_MINOR, \
  43. OBS_BETA_PATCH)
  44. #define OBS_BETA @OBS_BETA@