-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathCMakePresets.json
More file actions
93 lines (93 loc) · 2.29 KB
/
CMakePresets.json
File metadata and controls
93 lines (93 loc) · 2.29 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
{
"version": 6,
"configurePresets": [
{
"name": "default",
"displayName": "Default",
"binaryDir": "build",
"generator": "Ninja",
"errors": {
"dev": true,
"deprecated": true
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"DOWNLOAD_CATCH": true,
"DOWNLOAD_EIGEN": true,
"PYBIND11_FINDPYTHON": "NEW",
"PYBIND11_WERROR": true,
"CMAKE_COLOR_DIAGNOSTICS": true
}
},
{
"name": "venv",
"displayName": "Venv",
"inherits": "default",
"cacheVariables": {
"PYBIND11_CREATE_WITH_UV": "python3",
"Python_ROOT_DIR": ".venv"
}
},
{
"name": "tidy",
"displayName": "Clang-tidy",
"inherits": "default",
"binaryDir": "build-tidy",
"cacheVariables": {
"CMAKE_CXX_CLANG_TIDY": "clang-tidy;--use-color;--warnings-as-errors=*",
"CMAKE_CXX_STANDARD": "17"
}
}
],
"buildPresets": [
{
"name": "default",
"displayName": "Default Build",
"configurePreset": "default"
},
{
"name": "venv",
"displayName": "Venv Build",
"configurePreset": "venv"
},
{
"name": "tidy",
"displayName": "Clang-tidy Build",
"configurePreset": "tidy",
"nativeToolOptions": ["-k0"]
},
{
"name": "tests",
"displayName": "Tests (for workflow)",
"configurePreset": "default",
"targets": ["pytest", "cpptest", "test_cmake_build", "test_cross_module_rtti"]
},
{
"name": "testsvenv",
"displayName": "Tests Venv (for workflow)",
"configurePreset": "venv",
"targets": ["pytest", "cpptest", "test_cmake_build", "test_cross_module_rtti"]
}
],
"workflowPresets": [
{
"name": "default",
"displayName": "Default Workflow",
"steps": [
{ "type": "configure", "name": "default" },
{ "type": "build", "name": "default" },
{ "type": "build", "name": "tests" }
]
},
{
"name": "venv",
"displayName": "Default Workflow",
"steps": [
{ "type": "configure", "name": "venv" },
{ "type": "build", "name": "venv" },
{ "type": "build", "name": "testsvenv" }
]
}
]
}