2014-04-01 13:11:44 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-11-17 05:25:23 -08:00
|
|
|
#ifndef ON
|
|
|
|
#define ON 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OFF
|
|
|
|
#define OFF 0
|
|
|
|
#endif
|
|
|
|
|
2014-04-01 13:11:44 -07:00
|
|
|
#define OBS_VERSION "@OBS_VERSION@"
|
2022-01-31 15:27:47 -08:00
|
|
|
#define OBS_VERSION_CANONICAL "@OBS_VERSION_CANONICAL@"
|
2014-07-21 07:26:57 -07:00
|
|
|
#define OBS_DATA_PATH "@OBS_DATA_PATH@"
|
|
|
|
#define OBS_INSTALL_PREFIX "@OBS_INSTALL_PREFIX@"
|
2014-07-26 05:27:39 -07:00
|
|
|
#define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION@"
|
2022-07-28 14:29:34 -07:00
|
|
|
#define OBS_QT_VERSION @_QT_VERSION@
|
2018-08-13 00:24:30 -07:00
|
|
|
|
2022-04-29 11:49:27 -07:00
|
|
|
#cmakedefine LINUX_PORTABLE
|
2022-01-31 15:27:47 -08:00
|
|
|
#cmakedefine GIO_FOUND
|
|
|
|
#cmakedefine PULSEAUDIO_FOUND
|
|
|
|
#cmakedefine XCB_XINPUT_FOUND
|
2020-03-06 13:53:42 -08:00
|
|
|
#cmakedefine ENABLE_WAYLAND
|
|
|
|
|
2018-08-13 00:24:30 -07:00
|
|
|
/* NOTE: Release candidate version numbers internally are always the previous
|
|
|
|
* main release number! For example, if the current public release is 21.0 and
|
|
|
|
* the build is 22.0 release candidate 1, internally the build number (defined
|
|
|
|
* by LIBOBS_API_VER/etc) will always be 21.0, despite the OBS_VERSION string
|
|
|
|
* saying "22.0 RC1".
|
|
|
|
*
|
|
|
|
* If the release candidate version number is 0.0.0 and the RC number is 0,
|
|
|
|
* that means it's not a release candidate build. */
|
|
|
|
#define OBS_RELEASE_CANDIDATE_MAJOR @OBS_RELEASE_CANDIDATE_MAJOR@
|
|
|
|
#define OBS_RELEASE_CANDIDATE_MINOR @OBS_RELEASE_CANDIDATE_MINOR@
|
|
|
|
#define OBS_RELEASE_CANDIDATE_PATCH @OBS_RELEASE_CANDIDATE_PATCH@
|
|
|
|
#define OBS_RELEASE_CANDIDATE_VER \
|
|
|
|
MAKE_SEMANTIC_VERSION(OBS_RELEASE_CANDIDATE_MAJOR, \
|
|
|
|
OBS_RELEASE_CANDIDATE_MINOR, \
|
|
|
|
OBS_RELEASE_CANDIDATE_PATCH)
|
|
|
|
#define OBS_RELEASE_CANDIDATE @OBS_RELEASE_CANDIDATE@
|
2021-12-27 10:01:07 -08:00
|
|
|
|
|
|
|
/* Same thing for beta builds */
|
|
|
|
#define OBS_BETA_MAJOR @OBS_BETA_MAJOR@
|
|
|
|
#define OBS_BETA_MINOR @OBS_BETA_MINOR@
|
|
|
|
#define OBS_BETA_PATCH @OBS_BETA_PATCH@
|
|
|
|
#define OBS_BETA_VER \
|
|
|
|
MAKE_SEMANTIC_VERSION(OBS_BETA_MAJOR, \
|
|
|
|
OBS_BETA_MINOR, \
|
|
|
|
OBS_BETA_PATCH)
|
|
|
|
#define OBS_BETA @OBS_BETA@
|