2022-02-08 00:15:37 +00:00
|
|
|
{
|
2021-11-09 23:22:49 -05:00
|
|
|
"version": 2,
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
|
|
|
"name": "linux-default",
|
|
|
|
"displayName": "Linux Debug",
|
|
|
|
"description": "Target the Windows Subsystem for Linux (WSL) or a remote Linux system.",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
|
|
|
},
|
|
|
|
"vendor": {
|
|
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] },
|
|
|
|
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": { "sourceDir": "$env{HOME}/.vs/$ms{projectDirName}" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-02-08 00:15:37 +00:00
|
|
|
"name": "Debug-clang",
|
|
|
|
"displayName": "Windows Debug (clang-cl)",
|
2021-11-09 23:22:49 -05:00
|
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
|
|
"generator": "Ninja",
|
2022-02-08 00:15:37 +00:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Debug",
|
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
|
|
"INSTALL_GTEST": "True",
|
|
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
|
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
|
|
|
},
|
|
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Release-clang",
|
|
|
|
"displayName": "Windows Release (clang-cl)",
|
|
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
|
|
"INSTALL_GTEST": "True",
|
|
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
|
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
|
|
|
},
|
|
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug-msvc",
|
|
|
|
"displayName": "Windows Debug (msvc)",
|
|
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/out/build/Debug",
|
2021-11-09 23:22:49 -05:00
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
|
|
"INSTALL_GTEST": "True"
|
|
|
|
},
|
|
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
|
|
},
|
|
|
|
{
|
2022-02-08 00:15:37 +00:00
|
|
|
"name": "Release-msvc",
|
|
|
|
"displayName": "Windows Release (msvc)",
|
2021-11-09 23:22:49 -05:00
|
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
|
|
"generator": "Ninja",
|
2022-02-08 00:15:37 +00:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
2021-11-09 23:22:49 -05:00
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
|
|
"INSTALL_GTEST": "True"
|
|
|
|
},
|
|
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|