-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
217 lines (217 loc) · 7.19 KB
/
Copy pathCMakePresets.json
File metadata and controls
217 lines (217 loc) · 7.19 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
"version": 8,
"cmakeMinimumRequired": {
"major": 3,
"minor": 28,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "For more information: https://github.com/esweet431/box2d-lite/blob/vs-launch/CMakePresets.json",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/inst/${presetName}",
"cacheVariables": {
"USE_SYSTEM_SDL": "ON",
"USE_SDL_MIXER": "ON",
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "cmake/conan_provider.cmake"
}
},
{
"name": "x86-debug",
"displayName": "x86 Debug",
"description": "Sets debug build type and x86 arch",
"inherits": "base",
"hidden": true,
"architecture": {
"value": "x86",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"FREESYND_ARCH": "x86"
}
},
{
"name": "x86-release",
"displayName": "x86 Release",
"description": "Sets release build type",
"inherits": "x86-debug",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "x64-debug",
"displayName": "x64 Debug",
"description": "Sets debug build type and x86 arch",
"inherits": "x86-debug",
"hidden": true,
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"FREESYND_ARCH": "x64"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"description": "Sets release build type",
"inherits": "x64-debug",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "ninja-linux-x86-debug",
"displayName": "ninja-linux-x86-debug",
"description": "Ninja with Debug configuration",
"hidden": false,
"inherits": "x86-debug"
},
{
"name": "ninja-linux-x86-release",
"displayName": "ninja-linux-x86-release",
"description": "Single configuration Release",
"hidden": false,
"inherits": "x86-release",
"installDir": "/usr/local"
},
{
"name": "ninja-linux-x64-debug",
"displayName": "ninja-linux-x64-debug",
"description": "Ninja with Debug configuration",
"hidden": false,
"inherits": "x64-debug"
},
{
"name": "ninja-linux-x64-release",
"displayName": "ninja-linux-x64-release",
"description": "Single configuration Release",
"hidden": false,
"inherits": "x64-release",
"installDir": "/usr/local"
},
{
"name": "ninja-msvc-x86-debug",
"displayName": "Ninja x86_msvc-Debug",
"description": "Ninja with Microsoft C++ compiler - Debug",
"hidden": false,
"inherits": "x86-debug",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl.exe"
}
},
{
"name": "ninja-msvc-x86-release",
"displayName": "Ninja x86_msvc-Release",
"description": "Ninja with Microsoft C++ compiler - Release",
"hidden": false,
"inherits": "x86-release",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl.exe"
}
},
{
"name": "ninja-msvc-x64-debug",
"displayName": "Ninja x64_msvc-Debug",
"description": "Ninja with Microsoft C++ compiler - Debug",
"hidden": false,
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl.exe"
}
},
{
"name": "ninja-msvc-x64-release",
"displayName": "Ninja x64_msvc-Release",
"description": "Ninja with Microsoft C++ compiler - Release",
"hidden": false,
"inherits": "x64-release",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl.exe"
}
},
{
"name": "ninja-clang-arm64-debug",
"displayName": "ninja-clang-arm64-debug",
"description": "Visual Studio Code on Mac with Clang compiler - Debug",
"inherits": "base",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "ninja-clang-arm64-release",
"displayName": "ninja-clang-arm64-release",
"description": "Visual Studio Code on Mac with Clang compiler - Debug",
"inherits": "ninja-clang-arm64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{
"name": "build-gcc-x86-debug",
"displayName": "Build GCC x86 Debug",
"configurePreset": "ninja-linux-x86-debug"
},
{
"name": "build-gcc-x86-release",
"displayName": "Build GCC x86 Release",
"configurePreset": "ninja-linux-x86-release"
},
{
"name": "build-gcc-x64-debug",
"displayName": "Build GCC x64 Debug",
"configurePreset": "ninja-linux-x64-debug"
},
{
"name": "build-gcc-x64-release",
"displayName": "Build GCC x64 Release",
"configurePreset": "ninja-linux-x64-release"
},
{
"name": "build-ninja-msvc-x86-debug",
"displayName": "Build MSVC x86 Debug",
"configurePreset": "ninja-msvc-x86-debug"
},
{
"name": "build-ninja-msvc-x86-release",
"displayName": "Build MSVC x86 Release",
"configurePreset": "ninja-msvc-x86-release",
"configuration": "Release"
},
{
"name": "build-ninja-msvc-x64-debug",
"displayName": "Build MSVC x64 Debug",
"configurePreset": "ninja-msvc-x64-debug"
},
{
"name": "build-ninja-msvc-x64-release",
"displayName": "Build MSVC x64 Release",
"configurePreset": "ninja-msvc-x64-release",
"configuration": "Release"
},
{
"name": "build-ninja-x86-arm64-debug",
"displayName": "Build Ninja arm64 Debug",
"configurePreset": "ninja-clang-arm64-debug"
},
{
"name": "build-ninja-x86-arm64-release",
"displayName": "Build Ninja arm64 Release",
"configurePreset": "ninja-clang-arm64-release",
"configuration": "Release"
}
]
}