Files
AC6_recomp/CMakePresets.json
T
2026-04-17 20:09:41 +03:00

87 lines
3.2 KiB
JSON

{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 25, "patch": 0 },
"configurePresets": [
{
"name": "windows-base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_C_FLAGS": "-march=x86-64-v3 -w",
"CMAKE_CXX_FLAGS": "-march=x86-64-v3 -w",
"REXSDK_DIR": "${sourceDir}/thirdparty/rexglue-sdk"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "linux-base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-20",
"CMAKE_CXX_COMPILER": "clang++-20",
"CMAKE_C_FLAGS": "-march=x86-64-v3",
"CMAKE_CXX_FLAGS": "-march=x86-64-v3",
"REXSDK_DIR": "${sourceDir}/thirdparty/rexglue-sdk"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "win-amd64-debug",
"displayName": "Windows AMD64 Debug",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "win-amd64-release",
"displayName": "Windows AMD64 Release",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "linux-amd64-debug",
"displayName": "Linux AMD64 Debug",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "linux-amd64-release",
"displayName": "Linux AMD64 Release",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "win-amd64-relwithdebinfo",
"displayName": "Windows AMD64 RelWithDebInfo",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" }
},
{
"name": "linux-amd64-relwithdebinfo",
"displayName": "Linux AMD64 RelWithDebInfo",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" }
}
],
"buildPresets": [
{ "name": "win-amd64-debug", "configurePreset": "win-amd64-debug" },
{ "name": "win-amd64-release", "configurePreset": "win-amd64-release" },
{ "name": "win-amd64-relwithdebinfo", "configurePreset": "win-amd64-relwithdebinfo" },
{ "name": "linux-amd64-debug", "configurePreset": "linux-amd64-debug" },
{ "name": "linux-amd64-release", "configurePreset": "linux-amd64-release" },
{ "name": "linux-amd64-relwithdebinfo", "configurePreset": "linux-amd64-relwithdebinfo" }
]
}