mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-14 11:40:35 +07:00
add basic linux presets
This commit is contained in:
@@ -18,6 +18,32 @@
|
|||||||
"CMAKE_EXPORT_COMPILE_COMMANDS": true
|
"CMAKE_EXPORT_COMPILE_COMMANDS": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-base",
|
||||||
|
"hidden": true,
|
||||||
|
"inherits": "ninja-base",
|
||||||
|
"condition": {
|
||||||
|
"type": "equals",
|
||||||
|
"lhs": "${hostSystemName}",
|
||||||
|
"rhs": "Linux"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-clang10",
|
||||||
|
"inherits": "linux-base",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_C_COMPILER": "clang-10",
|
||||||
|
"CMAKE_CXX_COMPILER": "clang++-10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-gcc10",
|
||||||
|
"inherits": "linux-base",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_C_COMPILER": "gcc-10",
|
||||||
|
"CMAKE_CXX_COMPILER": "g++-10"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "macos-base",
|
"name": "macos-base",
|
||||||
"hidden": true,
|
"hidden": true,
|
||||||
@@ -135,6 +161,26 @@
|
|||||||
],
|
],
|
||||||
|
|
||||||
"buildPresets": [
|
"buildPresets": [
|
||||||
|
{
|
||||||
|
"name": "linux-clang10-debug",
|
||||||
|
"configuration": "Debug",
|
||||||
|
"configurePreset": "linux-clang10"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-clang10-release",
|
||||||
|
"configuration": "Release",
|
||||||
|
"configurePreset": "linux-clang10"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-gcc10-debug",
|
||||||
|
"configuration": "Debug",
|
||||||
|
"configurePreset": "linux-gcc10"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-gcc10-release",
|
||||||
|
"configuration": "Release",
|
||||||
|
"configurePreset": "linux-gcc10"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "macos-arm64-debug",
|
"name": "macos-arm64-debug",
|
||||||
"configuration": "Debug",
|
"configuration": "Debug",
|
||||||
|
|||||||
Reference in New Issue
Block a user