-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
109 lines (109 loc) · 2.46 KB
/
CMakePresets.json
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"version": 3,
"configurePresets": [
{
"name": "debug",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CORE_GAME_ENABLE_PROFILER": "ON"
}
},
{
"name": "release",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "ci",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "macos",
"inherits": "debug",
"binaryDir": "${sourceDir}/build/macos",
"cacheVariables": {
"CMAKE_LIBRARY_OUTPUT_DIRECTORY": "${sourceDir}/build/macos",
"CMAKE_OSX_ARCHITECTURES": "arm64;arm64e;x86_64"
}
},
{
"name": "linux",
"inherits": "debug",
"binaryDir": "${sourceDir}/build/linux",
"cacheVariables": {
"CMAKE_LIBRARY_OUTPUT_DIRECTORY": "${sourceDir}/build/linux"
}
},
{
"name": "windows",
"inherits": "debug",
"binaryDir": "${sourceDir}/build/windows",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG": "${sourceDir}/build/windows",
"CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE": "${sourceDir}/build/windows",
"CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG": "${sourceDir}/build/windows",
"CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE": "${sourceDir}/build/windows",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": "${sourceDir}/build/windows",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE": "${sourceDir}/build/windows"
}
},
{
"name": "ci-macos",
"inherits": [
"ci",
"macos"
]
},
{
"name": "ci-linux",
"inherits": [
"ci",
"linux"
]
},
{
"name": "ci-windows",
"inherits": [
"ci",
"windows"
]
}
],
"buildPresets": [
{
"name": "ci",
"hidden": true,
"configuration": "Release"
},
{
"name": "ci-linux",
"inherits": [
"ci"
],
"configurePreset": "ci-linux"
},
{
"name": "ci-macos",
"inherits": [
"ci"
],
"configurePreset": "ci-macos"
},
{
"name": "ci-windows",
"inherits": [
"ci"
],
"configurePreset": "ci-windows"
}
]
}