-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakePresets.json
43 lines (43 loc) · 1.42 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
{
"version": 4,
"configurePresets": [
{
"name": "msbuild-vcpkg",
"displayName": "MSBuild (vcpkg toolchain) Configure Settings",
"description": "Configure with VS generators and with vcpkg toolchain",
"generator": "Visual Studio 17 2022",
"binaryDir": "build/${presetName}",
"architecture": {
"strategy": "set",
"value": "x64"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
}
},
{
"name": "ninja-dbg",
"displayName": "ninja-dbg",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_MAKE_PROGRAM": "C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO/2022/COMMUNITY/COMMON7/IDE/COMMONEXTENSIONS/MICROSOFT/CMAKE/Ninja/ninja.exe",
"CMAKE_CXX_COMPILER": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
}
}
],
"buildPresets": [
{
"name": "msbuild-vcpkg",
"configurePreset": "msbuild-vcpkg",
"displayName": "Build MSBuild",
"description": "Build with MSBuild (VS)"
}
]
}