blob: fce4a959ccf31e3eea13c148bff0333f5998cddb [file] [log] [blame] [edit]
{
"version": 3,
"configurePresets": [
{
"name": "ninja-debug-vs2022",
"displayName": "Ninja Debug VS2022",
"description": "Targets the clang distribution that ships with VS2022 on Windows. Use with the \"x64 Native Tools Command Prompt for VS 2022\".",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/ninja-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "1",
"CMAKE_C_COMPILER": "$env{VSINSTALLDIR}VC/Tools/Llvm/x64/bin/clang-cl.exe",
"CMAKE_CXX_COMPILER": "$env{VSINSTALLDIR}VC/Tools/Llvm/x64/bin/clang-cl.exe",
"CMAKE_CXX_LINKER": "$env{VSINSTALLDIR}VC/Tools/Llvm/x64/bin/lld-link.exe"
}
},
{
"name": "ninja-debug-clang",
"displayName": "Ninja Debug",
"description": "Generic preset that targets clang.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/ninja-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "1",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_LINKER": "ld"
}
},
{
"name": "flutter-ci-mac-debug-x64",
"displayName": "Flutter CI mac-debug-x64",
"description": "Goma-enabled Ninja build for Flutter CI",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/mac-debug-x64",
"toolchainFile": "${sourceDir}/toolchains/mac-x64-toolchain.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "1"
}
}
],
"buildPresets": [
{
"name": "Example debug VS2022",
"description": "",
"displayName": "",
"configurePreset": "ninja-debug-vs2022",
"targets": [
"example"
]
},
{
"name": "Example debug",
"description": "",
"displayName": "",
"configurePreset": "ninja-debug-clang",
"targets": [
"example"
]
}
]
}