-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakePresets.json
77 lines (77 loc) · 1.81 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
{
"version": 6,
"configurePresets": [
{
"name": "config-base-vcpkg",
"hidden": true,
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/vcpkg-ports"
}
},
{
"name": "config-base-cmake",
"hidden": true,
"binaryDir": "${sourceDir}/bin/${presetName}",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;Release",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE": "TRUE"
}
},
{
"name": "config-base-ninja",
"hidden": true,
"generator": "Ninja Multi-Config",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_CXX_FLAGS": "/MP /diagnostics:caret",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>"
}
},
{
"name": "config-base-msvc2022",
"hidden": true,
"generator": "Visual Studio 17 2022",
"architecture": {
"value": "x64"
},
"inherits": [
"config-base-ninja"
]
},
{
"name": "f4se",
"inherits": [
"config-base-vcpkg",
"config-base-cmake",
"config-base-ninja"
]
}
],
"buildPresets": [
{
"name": "f4se-debug",
"configurePreset": "f4se",
"configuration": "Debug",
"displayName": "F4SE Debug"
},
{
"name": "f4se-release",
"configurePreset": "f4se",
"configuration": "Release",
"displayName": "F4SE Release"
}
],
"packagePresets": [
{
"name": "f4se",
"displayName": "Package F4SE",
"configurePreset": "f4se",
"packageDirectory": "${sourceDir}/bin/built-packages"
}
]
}