{ "version": 3, "cmakeMinimumRequired": { "major": 3, "minor": 20, "patch": 0 }, "configurePresets": [ { "name": "base", "hidden": true, "description": "Applications is JA2|JA2MAPEDITOR|JA2UB|JA2UBMAPEDITOR|empty(all 4); override CMAKE_RUNTIME_OUTPUT_DIRECTORY in CMakeUserPresets.json to debug another install.", "generator": "Ninja", "binaryDir": "${sourceDir}/build/${presetName}", "architecture": { "value": "x86", "strategy": "external" }, "cacheVariables": { "CMAKE_RUNTIME_OUTPUT_DIRECTORY": "${sourceDir}/gamedir" } }, { "name": "msvc", "hidden": true, "inherits": "base", "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ], "intelliSenseMode": "windows-msvc-x86" } } }, { "name": "msvc-relwithdebinfo", "inherits": "msvc", "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } }, { "name": "msvc-debug", "inherits": "msvc", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "msvc-release", "inherits": "msvc", "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } }, { "name": "clang-cl-asan", "inherits": "base", "displayName": "clang-cl RelWithDebInfo (AddressSanitizer)", "description": "AddressSanitizer build. Needs the C++ Clang tools for Windows component; see SANITIZERS.md.", "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ], "intelliSenseMode": "windows-clang-x86" } }, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo", "CMAKE_C_COMPILER": "clang-cl", "CMAKE_CXX_COMPILER": "clang-cl", "ADDRESS_SANITIZER": "ON" } } ], "buildPresets": [ { "name": "msvc-relwithdebinfo", "configurePreset": "msvc-relwithdebinfo" }, { "name": "msvc-debug", "configurePreset": "msvc-debug" }, { "name": "msvc-release", "configurePreset": "msvc-release" }, { "name": "clang-cl-asan", "configurePreset": "clang-cl-asan" } ] }