-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
80 lines (80 loc) · 3.11 KB
/
Copy pathCMakePresets.json
File metadata and controls
80 lines (80 loc) · 3.11 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
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
{
"version": 2,
"configurePresets": [
{
"name": "default",
"description": "Default build using Ninja Multi-Config",
"generator": "Ninja Multi-Config",
"binaryDir": "$env{BUILD_DIR}",
"environment": {
"BUILD_DIR": "build/${presetName}"
},
"cacheVariables": {
"CMAKE_CXX_STANDARD": "17",
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"PSDPARSE_BUILD_CLI": "ON"
}
},
{
"name": "x64-windows",
"description": "Windows x64 (MSVC, static CRT). C++ library + CLI only.",
"inherits": "default",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/toolchains/windows.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"VCPKG_TARGET_ARCHITECTURE": "x64",
"VCPKG_CRT_LINKAGE": "static",
"VCPKG_LIBRARY_LINKAGE": "static"
}
},
{
"name": "x86-windows",
"description": "Windows x86 (MSVC, static CRT). C++ library + CLI only.",
"inherits": "default",
"architecture": {
"value": "x86",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/toolchains/windows.cmake",
"VCPKG_TARGET_TRIPLET": "x86-windows-static",
"VCPKG_TARGET_ARCHITECTURE": "x86",
"VCPKG_CRT_LINKAGE": "static",
"VCPKG_LIBRARY_LINKAGE": "static"
}
},
{
"name": "x64-windows-python",
"description": "Windows x64 Python bindings (MSVC, dynamic CRT to match CPython)",
"inherits": "default",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/toolchains/windows.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md",
"VCPKG_TARGET_ARCHITECTURE": "x64",
"VCPKG_CRT_LINKAGE": "dynamic",
"VCPKG_LIBRARY_LINKAGE": "static",
"PSDPARSE_BUILD_PYTHON": "ON"
}
}
],
"buildPresets": [
{ "name": "x64-windows", "configurePreset": "x64-windows" },
{ "name": "x86-windows", "configurePreset": "x86-windows" },
{ "name": "x64-windows-python", "configurePreset": "x64-windows-python" }
]
}