-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakePresets.json
More file actions
98 lines (98 loc) · 3.07 KB
/
Copy pathCMakePresets.json
File metadata and controls
98 lines (98 loc) · 3.07 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
{
"version": 6,
"configurePresets": [
{
"name": "cross-compile",
"binaryDir": "${sourceDir}/build",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/cmake/PI.cmake",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/triplets",
"VCPKG_TARGET_TRIPLET": "arm64-rpi",
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "emulator",
"binaryDir": "${sourceDir}/emulator_build",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_MAKE_PROGRAM": "ninja",
"ENABLE_EMULATOR": true,
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "desktop",
"hidden": true,
"binaryDir": "${sourceDir}/desktop_build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/triplets",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"ENABLE_DESKTOP": true,
"ENABLE_SCENE_WORKER": true
}
},
{
"name": "desktop-linux",
"inherits": "desktop",
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"generator": "Ninja",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": "ninja"
}
},
{
"name": "desktop-windows",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"inherits": "desktop",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": "ninja"
}
},
{
"name": "desktop-windows-debug",
"binaryDir": "${sourceDir}/desktop_build_debug",
"cacheVariables": {
"DESKTOP_DEBUG_CONSOLE": true
},
"inherits": "desktop-windows"
}
],
"buildPresets": [
{
"name": "cross-compile",
"configurePreset": "cross-compile"
},
{
"name": "emulator",
"configurePreset": "emulator"
},
{
"name": "desktop-linux",
"configurePreset": "desktop-linux"
},
{
"name": "desktop-windows",
"configuration": "RelWithDebInfo",
"configurePreset": "desktop-windows"
},
{
"name": "desktop-windows-debug",
"configurePreset": "desktop-windows-debug"
}
],
"packagePresets": []
}