-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
37 lines (37 loc) · 1.23 KB
/
Copy pathCMakePresets.json
File metadata and controls
37 lines (37 loc) · 1.23 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
{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 28, "patch": 0 },
"configurePresets": [
{
"name": "vs2022",
"displayName": "Windows x64 (Visual Studio 2022)",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"binaryDir": "${sourceDir}/build",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows",
"CMAKE_CONFIGURATION_TYPES": "Debug;Release",
"MODELCHAIN_WARNINGS_AS_ERRORS": "ON"
}
}
],
"buildPresets": [
{ "name": "debug", "configurePreset": "vs2022", "configuration": "Debug" },
{ "name": "release", "configurePreset": "vs2022", "configuration": "Release" }
],
"testPresets": [
{
"name": "debug",
"configurePreset": "vs2022",
"configuration": "Debug",
"output": { "outputOnFailure": true }
},
{
"name": "release",
"configurePreset": "vs2022",
"configuration": "Release",
"output": { "outputOnFailure": true }
}
]
}