{ "version": 6, "cmakeMinimumRequired": { "major": 3, "minor": 24, "patch": 0 }, "configurePresets": [ { "name": "linux-gcc", "displayName": "Linux GCC (Qt 6.6.3)", "description": "Debug build using the local Qt 6.6.3 installation", "generator": "Ninja", "binaryDir": "${sourceDir}/build/linux-gcc", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_PREFIX_PATH": "/home/misaki/Qt6.3/6.6.3/gcc_64", "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", "SCHEDULE_WARNINGS_AS_ERRORS": "ON" }, "warnings": { "deprecated": false } }, { "name": "linux-gcc-release", "displayName": "Linux GCC Release (Qt 6.6.3)", "inherits": "linux-gcc", "binaryDir": "${sourceDir}/build/linux-gcc-release", "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" }, "warnings": { "deprecated": false } }, { "name": "windows-msvc", "displayName": "Windows MSVC (set QT_ROOT)", "generator": "Ninja", "binaryDir": "${sourceDir}/build/windows-msvc", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_PREFIX_PATH": "$env{QT_ROOT}" }, "warnings": { "deprecated": false } }, { "name": "windows-mingw", "displayName": "Windows MinGW-w64 (set QT_ROOT and MINGW_ROOT)", "description": "Debug build using Qt's MinGW kit and the matching MinGW toolchain", "generator": "Ninja", "binaryDir": "${sourceDir}/build/windows-mingw", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_PREFIX_PATH": "$env{QT_ROOT}", "CMAKE_C_COMPILER": "$env{MINGW_ROOT}/bin/gcc.exe", "CMAKE_CXX_COMPILER": "$env{MINGW_ROOT}/bin/g++.exe", "CMAKE_RC_COMPILER": "$env{MINGW_ROOT}/bin/windres.exe", "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" }, "warnings": { "deprecated": false } }, { "name": "macos-clang", "displayName": "macOS Clang (set QT_ROOT)", "generator": "Ninja", "binaryDir": "${sourceDir}/build/macos-clang", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_PREFIX_PATH": "$env{QT_ROOT}" }, "warnings": { "deprecated": false } } ], "buildPresets": [ { "name": "linux-gcc", "configurePreset": "linux-gcc" }, { "name": "linux-gcc-release", "configurePreset": "linux-gcc-release" }, { "name": "windows-msvc", "configurePreset": "windows-msvc" }, { "name": "windows-mingw", "configurePreset": "windows-mingw" }, { "name": "macos-clang", "configurePreset": "macos-clang" } ], "testPresets": [ { "name": "linux-gcc", "configurePreset": "linux-gcc", "output": { "outputOnFailure": true }, "environment": { "QT_QPA_PLATFORM": "offscreen" } }, { "name": "linux-gcc-release", "configurePreset": "linux-gcc-release", "output": { "outputOnFailure": true }, "environment": { "QT_QPA_PLATFORM": "offscreen" } }, { "name": "windows-msvc", "configurePreset": "windows-msvc", "output": { "outputOnFailure": true }, "environment": { "QT_QPA_PLATFORM": "offscreen", "PATH": "$env{QT_ROOT}/bin;$penv{PATH}" } }, { "name": "windows-mingw", "configurePreset": "windows-mingw", "output": { "outputOnFailure": true }, "environment": { "QT_QPA_PLATFORM": "offscreen", "PATH": "$env{QT_ROOT}/bin;$env{MINGW_ROOT}/bin;$penv{PATH}" } } ] }