-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCMakePresets.json
82 lines (82 loc) · 1.86 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 5
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"type": "FILEPATH"
},
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"VMCONTAINER_DEV_MODE": "ON"
}
},
{
"name": "debug",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "std14",
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_STANDARD": "14"
}
},
{
"name": "windows-base",
"inherits": "base",
"hidden": true,
"generator": "Ninja",
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [ "Windows" ]
}
}
},
{
"name": "x64-windows-cl-std14-debug",
"inherits": [ "windows-base", "debug", "std14" ],
"displayName": "Windows x64 MSVC C++14 Debug",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "x64-windows-cl-std14-release",
"inherits": [ "windows-base", "release", "std14" ],
"displayName": "Windows x64 MSVC C++14 Release",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl"
}
}
]
}