Files
SEQUA-Engine/CMakePresets.json
Ange-Marie MAURIN - A2M Systèmes da0d31385b build: arborescence bin/<plateforme>/<type> et build unifié (ADR 0010)
- platform/layout : racine sequa-root.json, chemins des composants, arguments et chemins en UTF-8.
- Règles install() : bin/windows-x64/{debug,release,asan}/ (core, render, studio + ui, engines).
- Le Core trouve sequa-render et les adaptateurs depuis la racine (--sequa-root, passé par
  Studio host à sa copie fantôme) : plus de render-unavailable depuis le panneau Rendu.
- L'adaptateur Godot cherche Godot et son projet à côté de lui (surcharge par --adapter-options) ;
  template_release pour le type release. Godot hébergé dans les presets debug et release.
- scripts/build-all.ps1 : Godot, C++, interface, arrêt des processus du dossier visé, install ;
  check.ps1 l'appelle (modification de l'ADR 0004).
- docs/installation/ : compiler, lancer, installer et désinstaller par plateforme.
2026-11-07 15:50:37 +01:00

98 lines
4.0 KiB
JSON

{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 25, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"SEQUA_BUILD_TESTS": "ON",
"SEQUA_WARNINGS_AS_ERRORS": "ON"
}
},
{
"name": "windows-base",
"hidden": true,
"inherits": "base",
"cacheVariables": { "CMAKE_CXX_COMPILER": "cl" },
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" }
},
{
"name": "windows-msvc-debug",
"displayName": "Windows MSVC Debug",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "SEQUA_BIN_TYPE": "debug", "SEQUA_BUILD_GODOT_RUNTIME": "ON" }
},
{
"name": "windows-msvc-release",
"displayName": "Windows MSVC Release",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo", "SEQUA_BIN_TYPE": "release", "SEQUA_BUILD_GODOT_RUNTIME": "ON" }
},
{
"name": "windows-msvc-asan",
"displayName": "Windows MSVC AddressSanitizer",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "SEQUA_BIN_TYPE": "asan", "SEQUA_SANITIZERS": "address" }
},
{
"name": "windows-msvc-prototypes",
"displayName": "Windows MSVC Release + prototypes",
"inherits": "windows-msvc-release",
"installDir": "${sourceDir}/build/${presetName}/install",
"cacheVariables": { "SEQUA_BUILD_PROTOTYPES": "ON" }
},
{
"name": "linux-base",
"hidden": true,
"inherits": "base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" }
},
{
"name": "linux-gcc-debug",
"displayName": "Linux GCC Debug",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_CXX_COMPILER": "g++", "CMAKE_BUILD_TYPE": "Debug" }
},
{
"name": "linux-clang-sanitize",
"displayName": "Linux Clang ASan + UBSan",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Debug",
"SEQUA_BIN_TYPE": "asan",
"SEQUA_SANITIZERS": "address;undefined"
}
},
{
"name": "macos-clang-debug",
"displayName": "macOS Clang Debug",
"inherits": "base",
"cacheVariables": { "CMAKE_CXX_COMPILER": "clang++", "CMAKE_BUILD_TYPE": "Debug" },
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Darwin" }
}
],
"buildPresets": [
{ "name": "windows-msvc-debug", "configurePreset": "windows-msvc-debug" },
{ "name": "windows-msvc-release", "configurePreset": "windows-msvc-release" },
{ "name": "windows-msvc-asan", "configurePreset": "windows-msvc-asan" },
{ "name": "windows-msvc-prototypes", "configurePreset": "windows-msvc-prototypes" },
{ "name": "linux-gcc-debug", "configurePreset": "linux-gcc-debug" },
{ "name": "linux-clang-sanitize", "configurePreset": "linux-clang-sanitize" },
{ "name": "macos-clang-debug", "configurePreset": "macos-clang-debug" }
],
"testPresets": [
{ "name": "test-base", "hidden": true, "output": { "outputOnFailure": true }, "execution": { "noTestsAction": "error" } },
{ "name": "windows-msvc-debug", "inherits": "test-base", "configurePreset": "windows-msvc-debug" },
{ "name": "windows-msvc-release", "inherits": "test-base", "configurePreset": "windows-msvc-release" },
{ "name": "windows-msvc-asan", "inherits": "test-base", "configurePreset": "windows-msvc-asan" },
{ "name": "windows-msvc-prototypes", "inherits": "test-base", "configurePreset": "windows-msvc-prototypes" },
{ "name": "linux-gcc-debug", "inherits": "test-base", "configurePreset": "linux-gcc-debug" },
{ "name": "linux-clang-sanitize", "inherits": "test-base", "configurePreset": "linux-clang-sanitize" },
{ "name": "macos-clang-debug", "inherits": "test-base", "configurePreset": "macos-clang-debug" }
]
}