-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
36 lines (36 loc) · 1.48 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "vs",
"hidden": false,
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_FLAGS": "/W4 /WX /wd4100 /permissive- /analyze /EHsc /Zc:preprocessor /Zc:inline /Zc:strictStrings /Zc:rvalueCast /MP /external:anglebrackets /analyze:external-",
"CMAKE_EXE_LINKER_FLAGS": "/ignore:4099",
"CMAKE_SHARED_LINKER_FLAGS": "/ignore:4099"
}
},
{
"name": "github",
"hidden": false,
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_FLAGS": "/W4 /WX /wd4100 /permissive- /analyze /EHsc /Zc:preprocessor /Zc:inline /Zc:strictStrings /Zc:rvalueCast /MP /external:anglebrackets /analyze:external-",
"CMAKE_EXE_LINKER_FLAGS": "/ignore:4099",
"CMAKE_SHARED_LINKER_FLAGS": "/ignore:4099"
}
}
]
}