-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathCMakePresets.json
More file actions
41 lines (41 loc) · 1.66 KB
/
Copy pathCMakePresets.json
File metadata and controls
41 lines (41 loc) · 1.66 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
{
"version": 3,
"cmakeMinimumRequired": { "major": 3, "minor": 21, "patch": 0 },
"configurePresets": [
{
"name": "windows",
"displayName": "Windows (default Visual Studio)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build"
},
{
"name": "linux-debug",
"displayName": "Linux Debug",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "GLFW_BUILD_WAYLAND": "OFF" }
},
{
"name": "linux-release",
"displayName": "Linux Release",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release", "GLFW_BUILD_WAYLAND": "OFF" }
},
{
"name": "macos",
"displayName": "macOS (Xcode)",
"generator": "Xcode",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Darwin" },
"binaryDir": "${sourceDir}/build"
}
],
"buildPresets": [
{ "name": "windows-debug", "configurePreset": "windows", "configuration": "Debug" },
{ "name": "windows-release", "configurePreset": "windows", "configuration": "Release" },
{ "name": "linux-debug", "configurePreset": "linux-debug" },
{ "name": "linux-release", "configurePreset": "linux-release" },
{ "name": "macos-debug", "configurePreset": "macos", "configuration": "Debug" },
{ "name": "macos-release", "configurePreset": "macos", "configuration": "Release" }
]
}