-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
65 lines (65 loc) · 1.46 KB
/
CMakePresets.json
File metadata and controls
65 lines (65 loc) · 1.46 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
{
"version": 4,
"configurePresets": [
{
"name": "debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build.${presetName}$penv{DEVCONTAINER_NAME}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_BUILD_WITH_INSTALL_RPATH": "ON",
"CPACK_GENERATOR": "DEB",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"inherits": "debug",
"displayName": "Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "vcpkg_macos",
"inherits": "release",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$penv{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/cmake/toolchains/osx-llvm18.cmake",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/triplets"
}
},
{
"name": "vcpkg_msvc",
"inherits": "release",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$penv{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/triplets"
}
}
],
"buildPresets": [
{
"name": "release",
"configuration": "Release",
"configurePreset": "release"
},
{
"name": "release_msvc",
"configuration": "Release",
"configurePreset": "vcpkg_msvc"
},
{
"name": "release_macos",
"configuration": "Release",
"configurePreset": "vcpkg_macos"
}
],
"testPresets": [
{
"name": "test-debug",
"configurePreset": "debug"
}
]
}