-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
132 lines (132 loc) · 2.92 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 26,
"patch": 0
},
"configurePresets": [
{
"name": "common",
"hidden": true,
"cacheVariables": {
"SKSE_SUPPORT_XBYAK": "ON"
},
"binaryDir": "${sourceDir}/build"
},
{
"name": "packaging-vcpkg",
"hidden": true,
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_OVERLAY_PORTS": "${sourceDir}/cmake/ports/",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md",
"VCPKG_HOST_TRIPLET": "x64-windows-static-md"
}
},
{
"name": "buildtype-debug-msvc",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_SHARED_LINKER_FLAGS_DEBUG": "/CGTHREADS:8 /DEBUG:FULL"
}
},
{
"name": "buildtype-release-msvc",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_FLAGS_RELEASE": "/GR- /Qpar",
"CMAKE_SHARED_LINKER_FLAGS_RELEASE": "/CGTHREADS:8 /OPT:ICF=4"
}
},
{
"name": "x64",
"hidden": true,
"architecture": "x64"
},
{
"name": "generator-vs2022",
"inherits": "x64",
"hidden": true,
"generator": "Visual Studio 17 2022"
},
{
"name": "compiler-msvc",
"hidden": true,
"cacheVariables": {
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "windows-msvc-x64",
"enableMicrosoftCodeAnalysis": true,
"enableClangTidyCodeAnalysis": true
}
}
},
{
"name": "debug-msvc",
"inherits": [
"common",
"packaging-vcpkg",
"buildtype-debug-msvc",
"generator-vs2022",
"compiler-msvc"
]
},
{
"name": "release-msvc",
"inherits": [
"common",
"packaging-vcpkg",
"buildtype-release-msvc",
"generator-vs2022",
"compiler-msvc"
]
}
],
"buildPresets": [
{
"name": "debug-msvc",
"configurePreset": "debug-msvc",
"displayName": "1. (Debug) MSVC",
"configuration": "Debug"
},
{
"name": "release-msvc",
"configurePreset": "release-msvc",
"displayName": "2. (Release) MSVC",
"configuration": "Release"
}
],
"workflowPresets": [
{
"name": "release-msvc",
"steps": [
{
"type": "configure",
"name": "release-msvc"
},
{
"type": "build",
"name": "release-msvc"
}
]
},
{
"name": "debug-msvc",
"steps": [
{
"type": "configure",
"name": "debug-msvc"
},
{
"type": "build",
"name": "debug-msvc"
}
]
}
]
}