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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"architecture": { "value": "x64", "strategy": "external" },
"generator": "Ninja",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceParentDir}/install",
"VCPKG_OVERLAY_TRIPLETS": "${sourceParentDir}/triplets",
"CMAKE_VERBOSE_MAKEFILE": true,
"BUILD_TESTING": true,
"STAR_ENABLE_STEAM_INTEGRATION": true,
"STAR_ENABLE_DISCORD_INTEGRATION": true
}
},
{
"inherits": "base",
"name": "windows-release",
"displayName": "Windows x64",
"binaryDir": "${sourceParentDir}/build/windows-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"VCPKG_TARGET_TRIPLET": "x64-windows-mixed-md",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
"CMAKE_INCLUDE_PATH": "${sourceParentDir}/lib/windows/include",
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/windows",
"STAR_USE_RPMALLOC": true
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [ "Windows" ]
}
}
},
{
"inherits": "windows-release",
"name": "windows-release-VS2022",
"displayName": "Windows x64 (Visual Studio 2022)",
"generator": "Visual Studio 17 2022"
},
{
"inherits": "base",
"name": "linux-release",
"displayName": "Linux x64",
"binaryDir": "${sourceParentDir}/build/linux-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"VCPKG_TARGET_TRIPLET": "x64-linux-mixed",
"CMAKE_INCLUDE_PATH": "${sourceParentDir}/lib/linux/include",
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/linux",
"STAR_ENABLE_STATIC_LIBGCC_LIBSTDCXX": true,
"STAR_USE_JEMALLOC": true
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [ "Linux" ]
}
}
},
{
"inherits": "linux-release",
"name": "linux-release-clang",
"displayName": "Linux Clang x64",
"binaryDir": "${sourceParentDir}/build/linux-release-clang",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"VCPKG_TARGET_TRIPLET": "x64-linux-mixed-clang",
"STAR_USE_JEMALLOC": false
}
},
{
"inherits": "base",
"name": "macos-release",
"displayName": "macOS x64",
"binaryDir": "${sourceParentDir}/build/macos-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"VCPKG_TARGET_TRIPLET": "x64-osx-mixed",
"CMAKE_INCLUDE_PATH": "${sourceParentDir}/lib/osx/include",
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/osx/x64;${sourceParentDir}/lib/osx",
"STAR_ENABLE_STATIC_LIBGCC_LIBSTDCXX": true,
"STAR_USE_JEMALLOC": false,
"STAR_ENABLE_DISCORD_INTEGRATION": false
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [ "macOS" ]
}
}
},
{
"inherits": "macos-release",
"name": "macos-arm-release",
"displayName": "macOS ARM",
"binaryDir": "${sourceParentDir}/build/macos-arm-release",
"architecture": { "value": "arm64", "strategy": "external" },
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "arm64-osx-mixed",
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/osx/arm64;${sourceParentDir}/lib/osx"
}
}
],
"buildPresets": [
{
"name": "windows-release",
"configurePreset": "windows-release"
},
{
"name": "windows-debug",
"configurePreset": "windows-release"
},
{
"name": "windows-release-VS2022",
"configurePreset": "windows-release-VS2022",
"configuration": "Release"
},
{
"name": "windows-debug-VS2022",
"configurePreset": "windows-release-VS2022",
"configuration": "Debug"
},
{
"name": "linux-release",
"configurePreset": "linux-release"
},
{
"name": "linux-release-clang",
"configurePreset": "linux-release-clang"
},
{
"name": "macos-release",
"configurePreset": "macos-release"
},
{
"name": "macos-arm-release",
"configurePreset": "macos-arm-release"
}
],
"testPresets": [
{
"name": "base",
"hidden": true,
"output": { "outputOnFailure": true },
"filter": { "include": { "label": "NoAssets" } }
},
{
"inherits": "base",
"name": "windows-release",
"configurePreset": "windows-release",
"configuration": "Release"
},
{
"inherits": "base",
"name": "linux-release",
"configurePreset": "linux-release"
},
{
"inherits": "base",
"name": "macos-release",
"configurePreset": "macos-release"
},
{
"inherits": "base",
"name": "macos-arm-release",
"configurePreset": "macos-arm-release"
}
]
}
|