-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
87 lines (87 loc) · 2.48 KB
/
CMakePresets.json
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 15,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"binaryDir": "${sourceDir}/build/${presetName}",
"generator": "Visual Studio 17 2022",
"hidden": true,
"toolchainFile": "${sourceDir}/.conan/conan_default_toolchain.cmake",
"toolset":{
"strategy": "external"
},
"architecture":{
"strategy": "external"
},
"cacheVariables": {
"CONAN_FORCE_BUILD_PACKAGES": "OFF",
"CONAN_FORCE_INSTALL": false,
"CONAN_BUILD_PROFILE": "${sourceDir}/.conan/profiles/${presetName}/build",
"CONAN_HOST_PROFILE": "${sourceDir}/.conan/profiles/${presetName}/host",
"BUILD_SHARED_LIBS": true
}
},
{
"name": "default",
"generator": "Visual Studio 17 2022",
"inherits": "base"
},
{
"name": "wsl",
"binaryDir": "/tmp/conan-toolchain/${presetName}",
"generator": "Ninja",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"condition": {
"lhs": "${hostSystemName}",
"type": "equals",
"rhs": "Linux"
}
},
{
"name": "mingw",
"generator": "Ninja",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
},
"condition": {
"lhs": "${hostSystemName}",
"type": "equals",
"rhs": "Windows"
},
"environment": {
"PATH": "C:\\msys64\\ucrt64\\bin;C:\\msys64\\usr\\bin;$penv{PATH}"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default",
"configuration": "Debug"
},
{
"name": "release",
"configurePreset": "default",
"configuration": "Release"
},
{
"name": "mingw",
"configurePreset": "mingw"
},
{
"name": "wsl",
"configurePreset": "wsl"
}
]
}