-
Notifications
You must be signed in to change notification settings - Fork 6
/
CaveEngineConfigUnix.h.in
53 lines (42 loc) · 1.59 KB
/
CaveEngineConfigUnix.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*!
* Copyright (c) 2021 SWTube. All rights reserved.
* Licensed under the GPL-3.0 License. See LICENSE file in the project root for license information.
*/
#pragma once
/*--------------------------------------------------------------------------------
Build configuration coming from CAVE, do not modify
--------------------------------------------------------------------------------*/
// Set any configuration not defined by CAVE to zero
#ifndef CAVE_BUILD_DEBUG
#define CAVE_BUILD_DEBUG @CAVE_BUILD_DEBUG@
#endif
#ifndef CAVE_BUILD_DEVELOPMENT
#define CAVE_BUILD_DEVELOPMENT @CAVE_BUILD_DEVELOPMENT@
#endif
#ifndef CAVE_BUILD_TEST
#define CAVE_BUILD_TEST @CAVE_BUILD_TEST@
#endif
#ifndef CAVE_BUILD_RELEASE
#define CAVE_BUILD_RELEASE @CAVE_BUILD_RELEASE@
#endif
// Ensure that we have one, and only one build config coming from UBT
#if CAVE_BUILD_DEBUG + CAVE_BUILD_DEVELOPMENT + CAVE_BUILD_TEST + CAVE_BUILD_RELEASE != 1
#error Exactly one of [CAVE_BUILD_DEBUG CAVE_BUILD_DEVELOPMENT CAVE_BUILD_TEST CAVE_BUILD_RELEASE] should be defined to be 1
#endif
#ifndef __UNIX__
#define __UNIX__
#define PLATFORM_NAME Unix
#endif
#if @CMAKE_COMPILER_IS_GNUCXX@
#define FORCEINLINE __attribute__((always_inline))
#endif
#define PROJECT_DIR "@PROJECT_SOURCE_DIR@"
#ifndef CAPACITY_INCREASE_MODE_DOUBLE
#define CAPACITY_INCREASE_MODE_DOUBLE @CAPACITY_INCREASE_MODE_DOUBLE@
#endif
#ifndef CAPACITY_INCREASE_MODE_SUFFICIENT
#define CAPACITY_INCREASE_MODE_SUFFICIENT @CAPACITY_INCREASE_MODE_SUFFICIENT@
#endif
#ifndef CAPACITY_INCREASE_MODE
#define CAPACITY_INCREASE_MODE @CAPACITY_INCREASE_MODE@
#endif