-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakePresets.json
85 lines (85 loc) · 1.87 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "cmake-dev",
"hidden": true,
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;Release",
"CMAKE_CXX_FLAGS": "/EHsc /MP /W4 /external:anglebrackets /external:W0 $penv{CXXFLAGS}"
}
},
{
"name": "vcpkg",
"hidden": true,
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_OVERLAY_PORTS": "${sourceDir}/cmake/ports/"
}
},
{
"name": "windows",
"hidden": true,
"cacheVariables": {
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>",
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "vs2022",
"hidden": true,
"generator": "Visual Studio 17 2022",
"toolset": "v143"
},
{
"name": "se",
"hidden": true,
"binaryDir": "${sourceDir}/build-15"
},
{
"name": "ae",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"BUILD_SKYRIMAE": true
}
},
{
"name": "vs2022-windows-vcpkg-se",
"inherits": [
"cmake-dev",
"vcpkg",
"windows",
"vs2022",
"se"
]
},
{
"name": "vs2022-windows-vcpkg-ae",
"inherits": [
"cmake-dev",
"vcpkg",
"windows",
"vs2022",
"ae"
]
}
],
"buildPresets": [
{
"name": "Release",
"configurePreset": "vs2022-windows-vcpkg-ae",
"configuration": "Release"
},
{
"name": "Release - Outdated",
"configurePreset": "vs2022-windows-vcpkg-se",
"configuration": "Release"
}
]
}