Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 32 additions & 29 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,17 @@
}
},
{
"name": "conf-linux-common",
"description": "Linux settings for gcc and clang toolchains",
"name": "conf-unixlike-common",
"description": "Unix-like OS settings for gcc and clang toolchains",
"hidden": true,
"inherits": "conf-common",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"type": "inList",
"string": "${hostSystemName}",
"list": [
"Linux",
"Darwin"
]
},
"vendor": {
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
Expand Down Expand Up @@ -75,7 +78,7 @@
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"ENABLE_DEVELOPER_MODE": "ON"
}
}
},
{
"name": "windows-msvc-debug-user-mode",
Expand All @@ -87,7 +90,7 @@
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_DEVELOPER_MODE": "OFF"
}
}
},
{
"name": "windows-msvc-release-user-mode",
Expand All @@ -99,7 +102,7 @@
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"ENABLE_DEVELOPER_MODE": "OFF"
}
}
},
{
"name": "windows-clang-debug",
Expand Down Expand Up @@ -134,43 +137,43 @@
}
},
{
"name": "linux-gcc-debug",
"name": "unixlike-gcc-debug",
"displayName": "gcc Debug",
"description": "Target Linux with the gcc compiler, debug build type",
"inherits": "conf-linux-common",
"description": "Target Unix-like OS with the gcc compiler, debug build type",
"inherits": "conf-unixlike-common",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux-gcc-release",
"name": "unixlike-gcc-release",
"displayName": "gcc Release",
"description": "Target Linux with the gcc compiler, release build type",
"inherits": "conf-linux-common",
"description": "Target Unix-like OS with the gcc compiler, release build type",
"inherits": "conf-unixlike-common",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "linux-clang-debug",
"name": "unixlike-clang-debug",
"displayName": "clang Debug",
"description": "Target Linux with the clang compiler, debug build type",
"inherits": "conf-linux-common",
"description": "Target Unix-like OS with the clang compiler, debug build type",
"inherits": "conf-unixlike-common",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux-clang-release",
"name": "unixlike-clang-release",
"displayName": "clang Release",
"description": "Target Linux with the clang compiler, release build type",
"inherits": "conf-linux-common",
"description": "Target Unix-like OS with the clang compiler, release build type",
"inherits": "conf-unixlike-common",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
Expand Down Expand Up @@ -220,32 +223,32 @@
"configurePreset": "windows-clang-release"
},
{
"name": "test-linux-gcc-debug",
"name": "test-unixlike-gcc-debug",
"displayName": "Strict",
"description": "Enable output and stop on failure",
"inherits": "test-common",
"configurePreset": "linux-gcc-debug"
"configurePreset": "unixlike-gcc-debug"
},
{
"name": "test-linux-gcc-release",
"name": "test-unixlike-gcc-release",
"displayName": "Strict",
"description": "Enable output and stop on failure",
"inherits": "test-common",
"configurePreset": "linux-gcc-release"
"configurePreset": "unixlike-gcc-release"
},
{
"name": "test-linux-clang-debug",
"name": "test-unixlike-clang-debug",
"displayName": "Strict",
"description": "Enable output and stop on failure",
"inherits": "test-common",
"configurePreset": "linux-clang-debug"
"configurePreset": "unixlike-clang-debug"
},
{
"name": "test-linux-clang-release",
"name": "test-unixlike-clang-release",
"displayName": "Strict",
"description": "Enable output and stop on failure",
"inherits": "test-common",
"configurePreset": "linux-clang-release"
"configurePreset": "unixlike-clang-release"
}
]
}
}