Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
72 lines (72 loc) · 1.97 KB
/
Copy pathCMakePresets.json
File metadata and controls
72 lines (72 loc) · 1.97 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
{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 28, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "g++-16",
"BUILD_TESTING": "ON",
"REMMY_ENABLE_CLANG_TIDY": "OFF"
}
},
{
"name": "release",
"inherits": "base",
"displayName": "GCC release",
"binaryDir": "${sourceDir}/build/gcc-release",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "debug",
"inherits": "base",
"displayName": "GCC debug",
"binaryDir": "${sourceDir}/build/gcc-debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "dist",
"inherits": "release",
"displayName": "GCC release for redistribution: generic CPU, static on Linux",
"binaryDir": "${sourceDir}/build/gcc-dist",
"cacheVariables": {
"BUILD_TESTING": "OFF",
"REMMY_NATIVE": "OFF",
"REMMY_STATIC": "ON"
}
},
{
"name": "lint",
"inherits": "debug",
"displayName": "Clang + clang-tidy over cutils and src (remmy ships from GCC)",
"binaryDir": "${sourceDir}/build/clang-lint",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"BUILD_TESTING": "OFF",
"REMMY_ENABLE_CLANG_TIDY": "ON"
}
}
],
"buildPresets": [
{ "name": "release", "configurePreset": "release" },
{ "name": "debug", "configurePreset": "debug" },
{ "name": "dist", "configurePreset": "dist" },
{ "name": "lint", "configurePreset": "lint" }
],
"testPresets": [
{
"name": "release",
"configurePreset": "release",
"output": { "outputOnFailure": true },
"execution": { "noTestsAction": "error" }
},
{
"name": "debug",
"configurePreset": "debug",
"output": { "outputOnFailure": true },
"execution": { "noTestsAction": "error" }
}
]
}