forked from clayne/MfgFixNG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
71 lines (71 loc) · 1.39 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "common",
"hidden": true,
"cacheVariables": {
"SKSE_SUPPORT_XBYAK": "ON"
},
"binaryDir": "${sourceDir}/build"
},
{
"name": "vcpkg",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "STRING",
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
},
"VCPKG_OVERLAY_PORTS": {
"type": "STRING",
"value": "${sourceDir}/cmake/ports/"
},
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md"
}
},
{
"name": "win64",
"hidden": true,
"architecture": "x64",
"cacheVariables": {
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
}
},
{
"name": "msvc",
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_FLAGS": "/EHsc /MP /W4 /WX $penv{CXXFLAGS}"
},
"generator": "Visual Studio 17 2022",
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "windows-msvc-x64",
"enableMicrosoftCodeAnalysis": true,
"enableClangTidyCodeAnalysis": true
}
}
},
{
"name": "ALL",
"cacheVariables": {
"BUILD_SKYRIM": true,
"ENABLE_SKYRIM_AE": "ON",
"ENABLE_SKYRIM_SE": "ON",
"ENABLE_SKYRIM_VR": "ON"
},
"inherits": [
"common",
"vcpkg",
"win64",
"msvc"
]
}
]
}