-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
101 lines (101 loc) · 2.95 KB
/
CMakePresets.json
File metadata and controls
101 lines (101 loc) · 2.95 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
{
"version": 7,
"cmakeMinimumRequired": {
"major": 3,
"minor": 27,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja"
},
{
"name": "ci",
"inherits": "base",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}",
"VCPKG_TARGET_TRIPLET": "$penv{VCPKG_DEFAULT_TRIPLET}"
}
},
{
"name": "windows-debug",
"inherits": "base",
"binaryDir": "${sourceDir}/build/windows-$penv{Platform}",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "$penv{Platform}-windows-static",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/LabVIEW"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "linux-desktop-debug",
"inherits": "base",
"binaryDir": "${sourceDir}/build/linux-desktop",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-linux",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/LabVIEW"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "windows-release",
"inherits": "windows-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "linux-desktop-release",
"inherits": "linux-desktop-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{
"name": "windows-debug-build",
"configurePreset": "windows-debug",
"targets": "install",
"configuration": "Debug"
},
{
"name": "windows-release-build",
"configurePreset": "windows-release",
"targets": "install",
"configuration": "Release"
},
{
"name": "linux-desktop-debug-build",
"configurePreset": "linux-desktop-debug",
"targets": "install",
"configuration": "Debug"
},
{
"name": "linux-desktop-release-build",
"configurePreset": "linux-desktop-release",
"targets": "install",
"configuration": "Release"
},
{
"name": "ci-build",
"configurePreset": "ci",
"targets": "install",
"configuration": "Release"
}
]
}