2024-03-08 09:09:27 +00:00
|
|
|
{
|
|
|
|
"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",
|
2024-07-28 00:54:26 +00:00
|
|
|
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/windows",
|
|
|
|
"STAR_USE_RPMALLOC": true
|
2024-03-08 09:09:27 +00:00
|
|
|
},
|
|
|
|
"vendor": {
|
|
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
|
|
"hostOS": [ "Windows" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2024-03-17 02:45:30 +00:00
|
|
|
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/linux",
|
|
|
|
"STAR_ENABLE_STATIC_LIBGCC_LIBSTDCXX": true,
|
|
|
|
"STAR_USE_JEMALLOC": true
|
2024-03-08 09:09:27 +00:00
|
|
|
},
|
|
|
|
"vendor": {
|
|
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
|
|
"hostOS": [ "Linux" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2024-03-17 02:45:30 +00:00
|
|
|
"CMAKE_LIBRARY_PATH": "${sourceParentDir}/lib/osx/x64;${sourceParentDir}/lib/osx",
|
|
|
|
"STAR_ENABLE_STATIC_LIBGCC_LIBSTDCXX": true,
|
|
|
|
"STAR_USE_JEMALLOC": false
|
2024-03-11 00:30:45 +00:00
|
|
|
},
|
|
|
|
"vendor": {
|
|
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
|
|
"hostOS": [ "macOS" ]
|
|
|
|
}
|
2024-03-08 09:09:27 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": "linux-release",
|
|
|
|
"configurePreset": "linux-release"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "macos-release",
|
|
|
|
"configurePreset": "macos-release"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "macos-arm-release",
|
|
|
|
"configurePreset": "macos-arm-release"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"testPresets": [
|
|
|
|
{
|
2024-03-17 02:45:30 +00:00
|
|
|
"name": "base",
|
|
|
|
"hidden": true,
|
|
|
|
"output": { "outputOnFailure": true },
|
2024-03-08 09:09:27 +00:00
|
|
|
"filter": { "include": { "label": "NoAssets" } }
|
|
|
|
},
|
|
|
|
{
|
2024-03-17 02:45:30 +00:00
|
|
|
"inherits": "base",
|
|
|
|
"name": "windows-release",
|
|
|
|
"configurePreset": "windows-release"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inherits": "base",
|
2024-03-08 09:09:27 +00:00
|
|
|
"name": "linux-release",
|
2024-03-17 02:45:30 +00:00
|
|
|
"configurePreset": "linux-release"
|
2024-03-08 09:09:27 +00:00
|
|
|
},
|
|
|
|
{
|
2024-03-17 02:45:30 +00:00
|
|
|
"inherits": "base",
|
2024-03-08 09:09:27 +00:00
|
|
|
"name": "macos-release",
|
2024-03-17 02:45:30 +00:00
|
|
|
"configurePreset": "macos-release"
|
2024-03-08 09:09:27 +00:00
|
|
|
},
|
|
|
|
{
|
2024-03-17 02:45:30 +00:00
|
|
|
"inherits": "base",
|
2024-03-08 09:09:27 +00:00
|
|
|
"name": "macos-arm-release",
|
2024-03-17 02:45:30 +00:00
|
|
|
"configurePreset": "macos-arm-release"
|
2024-03-08 09:09:27 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|