-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
49 lines (49 loc) · 1.1 KB
/
Copy pathCMakePresets.json
File metadata and controls
49 lines (49 loc) · 1.1 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
{
"version": 2,
"configurePresets": [
{
"name": "vcpkg",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "dist",
"CMAKE_C_COMPILER": "clang-22",
"CMAKE_CXX_COMPILER": "clang++-22",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
{
"name": "lint",
"generator": "Ninja",
"inherits": "vcpkg",
"cacheVariables": {
"CMAKE_CXX_CLANG_TIDY": "clang-tidy-22"
}
}
],
"buildPresets": [
{
"name": "vcpkg-release",
"configurePreset": "vcpkg",
"configuration": "Release"
},
{
"name": "vcpkg-debug",
"configurePreset": "vcpkg",
"configuration": "Debug"
}
],
"testPresets": [
{
"name": "vcpkg-release",
"configurePreset": "vcpkg",
"configuration": "Release"
},
{
"name": "vcpkg-debug",
"configurePreset": "vcpkg",
"configuration": "Debug"
}
]
}