Debian Codegraph @

code/global/configure_launcher.h.in

raw
1 #ifndef CONFIGURE_LAUNCHER_H_
2 #define CONFIGURE_LAUNCHER_H_
3 // File is modified by the build system to tell the launcher where stuff
4 // is located
5 #cmakedefine RESOURCES_PATH "${RESOURCES_PATH}"
6 #cmakedefine HELP_HTB_LOCATION "${HELP_HTB_LOCATION}"
7
8 #cmakedefine01 USE_SPEECH
9 #cmakedefine01 USE_JOYSTICK
10 #cmakedefine01 USE_OPENAL
11 #cmakedefine01 PLATFORM_USES_REGISTRY
12 #cmakedefine01 PROFILE_DEBUGGING
13
14 #cmakedefine01 HAS_SDL
15
16 #cmakedefine wxlauncher_VERSION_MAJOR ${wxlauncher_VERSION_MAJOR}
17 #cmakedefine wxlauncher_VERSION_MINOR ${wxlauncher_VERSION_MINOR}
18 #cmakedefine wxlauncher_VERSION_PATCH ${wxlauncher_VERSION_PATCH}
19
20 // If cmake did not define these, it means they are zero
21 #ifndef wxlauncher_VERSION_MAJOR
22 #define wxlauncher_VERSION_MAJOR 0
23 #endif
24 #ifndef wxlauncher_VERSION_MINOR
25 #define wxlauncher_VERSION_MINOR 0
26 #endif
27 #ifndef wxlauncher_VERSION_PATCH
28 #define wxlauncher_VERSION_PATCH 0
29 #endif
30
31 // What platform am I on
32 #cmakedefine01 IS_WIN32
33 #cmakedefine01 IS_LINUX
34 #cmakedefine01 IS_APPLE
35
36 #if (IS_WIN32 + IS_LINUX + IS_APPLE) > 1
37 #error "Only one of IS_WIN32, IS_LINUX, and IS_APPLE may evaluate to true"
38 #elif (IS_WIN32 + IS_LINUX + IS_APPLE) < 1
39 #error "One of IS_WIN32, IS_LINUX, IS_APPLE must evaluate to true"
40 #endif
41
42 #endif