mirror of
https://github.com/sal063/AC6_recomp
synced 2026-05-29 08:43:09 -04:00
223 lines
7.0 KiB
JSON
223 lines
7.0 KiB
JSON
{
|
|
"version": 6,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 25,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "windows-base",
|
|
"hidden": true,
|
|
"generator": "Ninja Multi-Config",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_C_FLAGS": "-march=x86-64-v3",
|
|
"CMAKE_CXX_FLAGS": "-march=x86-64-v3",
|
|
"CMAKE_CXX_STANDARD": "23",
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release;RelWithDebInfo",
|
|
"CMAKE_CROSS_CONFIGS": "all",
|
|
"CMAKE_DEFAULT_BUILD_TYPE": "Debug",
|
|
"CMAKE_DEFAULT_CONFIGS": "all",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-base",
|
|
"hidden": true,
|
|
"generator": "Ninja Multi-Config",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_C_FLAGS": "-march=x86-64-v3",
|
|
"CMAKE_CXX_FLAGS": "-march=x86-64-v3",
|
|
"CMAKE_CXX_STANDARD": "23",
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release;RelWithDebInfo",
|
|
"CMAKE_CROSS_CONFIGS": "all",
|
|
"CMAKE_DEFAULT_BUILD_TYPE": "Debug",
|
|
"CMAKE_DEFAULT_CONFIGS": "all",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-arm64-base",
|
|
"hidden": true,
|
|
"inherits": "windows-base",
|
|
"cacheVariables": {
|
|
"CMAKE_C_FLAGS": "-march=armv8-a",
|
|
"CMAKE_CXX_FLAGS": "-march=armv8-a"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-arm64-base",
|
|
"hidden": true,
|
|
"inherits": "linux-base",
|
|
"cacheVariables": {
|
|
"CMAKE_C_FLAGS": "-march=armv8-a",
|
|
"CMAKE_CXX_FLAGS": "-march=armv8-a"
|
|
}
|
|
},
|
|
{
|
|
"name": "win-amd64",
|
|
"displayName": "Windows AMD64",
|
|
"description": "Multi-config build for Windows AMD64 using Clang",
|
|
"inherits": "windows-base"
|
|
},
|
|
{
|
|
"name": "win-arm64",
|
|
"displayName": "Windows ARM64",
|
|
"description": "Multi-config build for Windows ARM64 using Clang",
|
|
"inherits": "windows-arm64-base"
|
|
},
|
|
{
|
|
"name": "linux-amd64",
|
|
"displayName": "Linux AMD64",
|
|
"description": "Multi-config build for Linux AMD64 using Clang",
|
|
"inherits": "linux-base"
|
|
},
|
|
{
|
|
"name": "linux-arm64",
|
|
"displayName": "Linux ARM64",
|
|
"description": "Multi-config build for Linux ARM64 using Clang",
|
|
"inherits": "linux-arm64-base"
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "win-amd64-debug",
|
|
"configurePreset": "win-amd64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "win-amd64-release",
|
|
"configurePreset": "win-amd64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "win-amd64-relwithdebinfo",
|
|
"configurePreset": "win-amd64",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "win-arm64-debug",
|
|
"configurePreset": "win-arm64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "win-arm64-release",
|
|
"configurePreset": "win-arm64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "win-arm64-relwithdebinfo",
|
|
"configurePreset": "win-arm64",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "linux-amd64-debug",
|
|
"configurePreset": "linux-amd64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "linux-amd64-release",
|
|
"configurePreset": "linux-amd64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "linux-amd64-relwithdebinfo",
|
|
"configurePreset": "linux-amd64",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "linux-arm64-debug",
|
|
"configurePreset": "linux-arm64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "linux-arm64-release",
|
|
"configurePreset": "linux-arm64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "linux-arm64-relwithdebinfo",
|
|
"configurePreset": "linux-arm64",
|
|
"configuration": "RelWithDebInfo"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "win-amd64-debug",
|
|
"configurePreset": "win-amd64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "win-amd64-release",
|
|
"configurePreset": "win-amd64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "win-amd64-relwithdebinfo",
|
|
"configurePreset": "win-amd64",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "win-arm64-debug",
|
|
"configurePreset": "win-arm64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "win-arm64-release",
|
|
"configurePreset": "win-arm64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "win-arm64-relwithdebinfo",
|
|
"configurePreset": "win-arm64",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "linux-amd64-debug",
|
|
"configurePreset": "linux-amd64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "linux-amd64-release",
|
|
"configurePreset": "linux-amd64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "linux-amd64-relwithdebinfo",
|
|
"configurePreset": "linux-amd64",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "linux-arm64-debug",
|
|
"configurePreset": "linux-arm64",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "linux-arm64-release",
|
|
"configurePreset": "linux-arm64",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "linux-arm64-relwithdebinfo",
|
|
"configurePreset": "linux-arm64",
|
|
"configuration": "RelWithDebInfo"
|
|
}
|
|
]
|
|
}
|