-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakePresets.json
More file actions
120 lines (120 loc) · 4.31 KB
/
CMakePresets.json
File metadata and controls
120 lines (120 loc) · 4.31 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
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21
},
"configurePresets": [
{
"name": "build-base",
"hidden": true,
"generator": "Ninja",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/cmake/ports/"
}
},
{
"name": "build-debug",
"hidden": true,
"inherits": "build-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDebugDLL"
}
},
{
"name": "build-relwithdebinfo",
"hidden": true,
"inherits": "build-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL"
}
},
{
"name": "commonlibsse-base",
"hidden": true,
"environment": {
"COMMONLIBSSE_PLATFORM": "-DWIN32_LEAN_AND_MEAN -DNOMINMAX -DENABLE_COMMONLIBSSE_TESTING",
"COMMONLIBSSE_TEXT": "-DUNICODE -D_UNICODE"
},
"cacheVariables": {
"CMAKE_CXX_FLAGS": "/permissive- /Zc:preprocessor /EHsc $penv{CXXFLAGS} $env{COMMONLIBSSE_COMPILER} $env{COMMONLIBSSE_PLATFORM} $env{COMMONLIBSSE_TEXT} $env{RUNTIME_DISABLE_FLAGS}"
}
},
{
"name": "commonlibsse-all",
"hidden": true,
"inherits": "commonlibsse-base",
"cacheVariables": {
"VCPKG_INSTALLED_DIR": "${sourceDir}/../__vcpkg_installed_shared/all"
},
"environment": {
"RUNTIME_DISABLE_FLAGS": "",
"COMMONLIBSSE_COMPILER": "/showIncludes"
}
},
{
"name": "commonlibsse-se-only",
"inherits": "commonlibsse-base",
"hidden": true,
"cacheVariables": {
"VCPKG_INSTALLED_DIR": "${sourceDir}/../__vcpkg_installed_shared/se-only"
},
"environment": {
"RUNTIME_DISABLE_FLAGS": "-UENABLE_SKYRIM_VR",
"COMMONLIBSSE_COMPILER": ""
}
},
{
"name": "commonlibsse-vr-only",
"inherits": "commonlibsse-base",
"hidden": true,
"cacheVariables": {
"VCPKG_INSTALLED_DIR": "${sourceDir}/../__vcpkg_installed_shared/vr-only"
},
"environment": {
"RUNTIME_DISABLE_FLAGS": "-UENABLE_SKYRIM_SE -UENABLE_SKYRIM_AE",
"COMMONLIBSSE_COMPILER": ""
}
},
{
"name": "build-debug-all",
"inherits": [ "build-debug", "commonlibsse-all" ],
"displayName": "[All] Debug",
"binaryDir": "${sourceDir}/build/all/debug"
},
{
"name": "build-relwithdebinfo-all",
"inherits": [ "build-relwithdebinfo", "commonlibsse-all" ],
"displayName": "[All] RelWithDebInfo",
"binaryDir": "${sourceDir}/build/all/relwithdebinfo"
},
{
"name": "build-debug-se-only",
"inherits": [ "build-debug", "commonlibsse-se-only" ],
"displayName": "[SE-only] Debug",
"binaryDir": "${sourceDir}/build/se-only/debug"
},
{
"name": "build-relwithdebinfo-se-only",
"inherits": [ "build-relwithdebinfo", "commonlibsse-se-only" ],
"displayName": "[SE-only] RelWithDebInfo",
"binaryDir": "${sourceDir}/build/se-only/relwithdebinfo"
},
{
"name": "build-debug-vr-only",
"inherits": [ "build-debug", "commonlibsse-vr-only" ],
"displayName": "[VR-only] Debug",
"binaryDir": "${sourceDir}/build/vr-only/debug"
},
{
"name": "build-relwithdebinfo-vr-only",
"inherits": [ "build-relwithdebinfo", "commonlibsse-vr-only" ],
"displayName": "[VR-only] RelWithDebInfo",
"binaryDir": "${sourceDir}/build/vr-only/relwithdebinfo"
}
]
}