forked from novatel/novatel_edie
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
78 lines (78 loc) · 2.13 KB
/
Copy pathCMakePresets.json
File metadata and controls
78 lines (78 loc) · 2.13 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
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CONAN_INSTALL_BUILD_CONFIGURATIONS": "Release;Debug"
}
},
{
"name": "windows-msvc",
"displayName": "MSVC",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"inherits": [
"base"
]
},
{
"name": "linux-gcc",
"displayName": "GCC",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"inherits": [
"base"
]
}
],
"buildPresets": [
{
"name": "windows-msvc-debug",
"displayName": "MSVC Debug",
"configurePreset": "windows-msvc",
"configuration": "Debug"
},
{
"name": "windows-msvc-release",
"displayName": "MSVC Release",
"configurePreset": "windows-msvc",
"configuration": "Release"
},
{
"name": "linux-gcc-debug",
"displayName": "GCC Debug",
"configurePreset": "linux-gcc",
"configuration": "Debug"
},
{
"name": "linux-gcc-release",
"displayName": "GCC Release",
"configurePreset": "linux-gcc",
"configuration": "Release"
}
]
}