Files
AC6_recomp/CMakePresets.json
T
salh c2e2fbfbbc Add 60fps cutscene clamp for in-engine cinematics
Suspend the FPS unlock while a demo-manager Exec (DD sub_82184460 / EM sub_821856F8) ticks, so the frame-locked IngameCinematics Sequencer plays at native ~30fps instead of double speed. Adds ac6_cutscene_clamp CVar (default on).
2026-06-15 16:03:43 +03:00

110 lines
4.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",
"PYTHON_EXECUTABLE": "python",
"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": "win-amd64-vulkan-relwithdebinfo",
"displayName": "Windows AMD64 Vulkan RelWithDebInfo",
"inherits": "windows-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"REXGLUE_USE_D3D12": "ON",
"REXGLUE_USE_VULKAN": "ON"
}
},
{
"name": "win-amd64-vulkan-only-relwithdebinfo",
"displayName": "Windows AMD64 Vulkan-Only RelWithDebInfo",
"inherits": "windows-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"REXGLUE_USE_D3D12": "OFF",
"REXGLUE_USE_VULKAN": "ON"
}
},
{
"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": "win-amd64-vulkan-relwithdebinfo", "configurePreset": "win-amd64-vulkan-relwithdebinfo" },
{ "name": "win-amd64-vulkan-only-relwithdebinfo", "configurePreset": "win-amd64-vulkan-only-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" }
]
}