-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
41 lines (41 loc) · 1.3 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
{
"version": 3,
"configurePresets": [
{
"name": "vcpkg-Debug",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_CXX_FLAGS": "/MP /EHsc /Zi",
"CMAKE_EXE_LINKER_FLAGS": "/DEBUG",
"CEF_CMAKE_OUTPUT_DIR": "${sourceDir}/build/Debug/",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDebug"
}
},
{
"name": "vcpkg-Release",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_CXX_FLAGS": "/MP /EHsc /O2",
"CMAKE_EXE_LINKER_FLAGS": ""
}
}
],
"buildPresets": [
{
"name": "Debug",
"description": "",
"displayName": "Debug",
"configurePreset": "vcpkg-Debug"
},
{
"name": "Release",
"description": "",
"displayName": "",
"configurePreset": "vcpkg-Release"
}
]
}