-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathCMakePresets.json
94 lines (94 loc) · 2.39 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
88
89
90
91
92
93
94
{
"version": 6,
"configurePresets": [
{
"name": "debug",
"displayName": "Debug config",
"description": "Debug config with tests and benchmarks",
"binaryDir": "${sourceDir}/build/Debug",
"generator": "Ninja",
"installDir": "${sourceDir}/build/Debug/install",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SC_BUILD_TESTS": true,
"SC_BUILD_BENCH": true
}
},
{
"name": "debug-conan",
"displayName": "Debug config (Conan)",
"description": "Debug config with tests and benchmarks (Conan dependencies used)",
"inherits": [
"debug"
],
"cacheVariables": {
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "./cmake/conan_provider.cmake"
}
},
{
"name": "release",
"displayName": "Release config",
"description": "Release config",
"binaryDir": "${sourceDir}/build/Release",
"generator": "Ninja",
"installDir": "${sourceDir}/build/Release/install",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "release-conan",
"displayName": "Release config (Conan)",
"description": "Release config (Conan dependencies used)",
"inherits": "release",
"cacheVariables": {
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "./cmake/conan_provider.cmake"
}
},
{
"name": "release-with-tests",
"displayName": "Release config with tests",
"description": "Release config with tests",
"inherits": "release",
"cacheVariables": {
"SC_BUILD_TESTS": true,
"SC_BUILD_BENCH": true
}
},
{
"name": "release-with-tests-conan",
"displayName": "Release config with tests (Conan)",
"description": "Release config with tests (Conan dependencies used)",
"inherits": "release-with-tests",
"cacheVariables": {
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "./cmake/conan_provider.cmake"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "release",
"configurePreset": "release"
}
],
"packagePresets": [
{
"name": "release-conan",
"configurePreset": "release-conan",
"generators": [
"TGZ"
]
},
{
"name": "release",
"configurePreset": "release",
"generators": [
"TGZ"
]
}
]
}