Files
meta.hpp/CMakePresets.json

428 lines
12 KiB
JSON

{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "develop-base",
"hidden": true,
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/develop/build/${presetName}",
"installDir": "${sourceDir}/develop/install/${presetName}",
"cacheVariables": {
"META_HPP_DEVELOP": true,
"META_HPP_INSTALL": true,
"CMAKE_EXPORT_COMPILE_COMMANDS": true
}
},
{
"name": "linux-base",
"hidden": true,
"inherits": "develop-base",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "linux-clang-10",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-10",
"CMAKE_CXX_COMPILER": "clang++-10"
}
},
{
"name": "linux-clang-18",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-18",
"CMAKE_CXX_COMPILER": "clang++-18"
}
},
{
"name": "linux-gcc-10",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc-10",
"CMAKE_CXX_COMPILER": "g++-10"
}
},
{
"name": "linux-gcc-14",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc-14",
"CMAKE_CXX_COMPILER": "g++-14"
}
},
{
"name": "macos-base",
"hidden": true,
"inherits": "develop-base",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "macos-arm64",
"inherits": "macos-base",
"architecture": {
"value": "arm64",
"strategy": "external"
}
},
{
"name": "macos-arm64-san",
"inherits": "macos-arm64",
"cacheVariables": {
"META_HPP_DEVELOP_WITH_SANITIZERS": true
}
},
{
"name": "macos-arm64-san-no-exceptions",
"inherits": "macos-arm64-san",
"cacheVariables": {
"META_HPP_DEVELOP_WITH_NO_EXCEPTIONS": true
}
},
{
"name": "macos-arm64-san-no-rtti",
"inherits": "macos-arm64-san",
"cacheVariables": {
"META_HPP_DEVELOP_WITH_NO_RTTI": true
}
},
{
"name": "macos-x64",
"inherits": "macos-base",
"architecture": {
"value": "x64",
"strategy": "external"
}
},
{
"name": "macos-x64-san",
"inherits": "macos-x64",
"cacheVariables": {
"META_HPP_DEVELOP_WITH_SANITIZERS": true
}
},
{
"name": "macos-x64-san-no-exceptions",
"inherits": "macos-x64-san",
"cacheVariables": {
"META_HPP_DEVELOP_WITH_NO_EXCEPTIONS": true
}
},
{
"name": "macos-x64-san-no-rtti",
"inherits": "macos-x64-san",
"cacheVariables": {
"META_HPP_DEVELOP_WITH_NO_RTTI": true
}
},
{
"name": "windows-base",
"hidden": true,
"inherits": "develop-base",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "windows-x86-msvc2019",
"inherits": "windows-base",
"architecture": {
"value": "x86",
"strategy": "external"
},
"toolset": {
"value": "v142,host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "windows-x64-msvc2019",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "v142,host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "windows-x86-msvc2022",
"inherits": "windows-base",
"architecture": {
"value": "x86",
"strategy": "external"
},
"toolset": {
"value": "v143,host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "windows-x64-msvc2022",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "v143,host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
}
}
],
"buildPresets": [
{
"name": "linux-clang-10-debug",
"configuration": "Debug",
"configurePreset": "linux-clang-10"
},
{
"name": "linux-clang-10-release",
"configuration": "Release",
"configurePreset": "linux-clang-10"
},
{
"name": "linux-clang-18-debug",
"configuration": "Debug",
"configurePreset": "linux-clang-18"
},
{
"name": "linux-clang-18-release",
"configuration": "Release",
"configurePreset": "linux-clang-18"
},
{
"name": "linux-gcc-10-debug",
"configuration": "Debug",
"configurePreset": "linux-gcc-10"
},
{
"name": "linux-gcc-10-release",
"configuration": "Release",
"configurePreset": "linux-gcc-10"
},
{
"name": "linux-gcc-14-debug",
"configuration": "Debug",
"configurePreset": "linux-gcc-14"
},
{
"name": "linux-gcc-14-release",
"configuration": "Release",
"configurePreset": "linux-gcc-14"
},
{
"name": "macos-arm64-debug",
"configuration": "Debug",
"configurePreset": "macos-arm64"
},
{
"name": "macos-arm64-debug-san",
"configuration": "Debug",
"configurePreset": "macos-arm64-san"
},
{
"name": "macos-arm64-debug-san-no-exceptions",
"configuration": "Debug",
"configurePreset": "macos-arm64-san-no-exceptions"
},
{
"name": "macos-arm64-debug-san-no-rtti",
"configuration": "Debug",
"configurePreset": "macos-arm64-san-no-rtti"
},
{
"name": "macos-arm64-release",
"configuration": "Release",
"configurePreset": "macos-arm64"
},
{
"name": "macos-x64-debug",
"configuration": "Debug",
"configurePreset": "macos-x64"
},
{
"name": "macos-x64-debug-san",
"configuration": "Debug",
"configurePreset": "macos-x64-san"
},
{
"name": "macos-x64-debug-san-no-exceptions",
"configuration": "Debug",
"configurePreset": "macos-x64-san-no-exceptions"
},
{
"name": "macos-x64-debug-san-no-rtti",
"configuration": "Debug",
"configurePreset": "macos-x64-san-no-rtti"
},
{
"name": "macos-x64-release",
"configuration": "Release",
"configurePreset": "macos-x64"
},
{
"name": "windows-x86-msvc2019-debug",
"configuration": "Debug",
"configurePreset": "windows-x86-msvc2019"
},
{
"name": "windows-x86-msvc2019-release",
"configuration": "Release",
"configurePreset": "windows-x86-msvc2019"
},
{
"name": "windows-x64-msvc2019-debug",
"configuration": "Debug",
"configurePreset": "windows-x64-msvc2019"
},
{
"name": "windows-x64-msvc2019-release",
"configuration": "Release",
"configurePreset": "windows-x64-msvc2019"
},
{
"name": "windows-x86-msvc2022-debug",
"configuration": "Debug",
"configurePreset": "windows-x86-msvc2022"
},
{
"name": "windows-x86-msvc2022-release",
"configuration": "Release",
"configurePreset": "windows-x86-msvc2022"
},
{
"name": "windows-x64-msvc2022-debug",
"configuration": "Debug",
"configurePreset": "windows-x64-msvc2022"
},
{
"name": "windows-x64-msvc2022-release",
"configuration": "Release",
"configurePreset": "windows-x64-msvc2022"
}
],
"testPresets": [
{
"name": "test-base",
"hidden": true,
"output": {
"verbosity": "verbose"
}
},
{
"name": "linux-clang-10",
"inherits": "test-base",
"configurePreset": "linux-clang-10"
},
{
"name": "linux-clang-18",
"inherits": "test-base",
"configurePreset": "linux-clang-18"
},
{
"name": "linux-gcc-10",
"inherits": "test-base",
"configurePreset": "linux-gcc-10"
},
{
"name": "linux-gcc-14",
"inherits": "test-base",
"configurePreset": "linux-gcc-14"
},
{
"name": "macos-arm64",
"inherits": "test-base",
"configurePreset": "macos-arm64"
},
{
"name": "macos-arm64-san",
"inherits": "test-base",
"configurePreset": "macos-arm64-san"
},
{
"name": "macos-arm64-san-no-exceptions",
"inherits": "test-base",
"configurePreset": "macos-arm64-san-no-exceptions"
},
{
"name": "macos-arm64-san-no-rtti",
"inherits": "test-base",
"configurePreset": "macos-arm64-san-no-rtti"
},
{
"name": "macos-x64",
"inherits": "test-base",
"configurePreset": "macos-x64"
},
{
"name": "macos-x64-san",
"inherits": "test-base",
"configurePreset": "macos-x64-san"
},
{
"name": "macos-x64-san-no-exceptions",
"inherits": "test-base",
"configurePreset": "macos-x64-san-no-exceptions"
},
{
"name": "macos-x64-san-no-rtti",
"inherits": "test-base",
"configurePreset": "macos-x64-san-no-rtti"
},
{
"name": "windows-x86-msvc2019",
"inherits": "test-base",
"configurePreset": "windows-x86-msvc2019"
},
{
"name": "windows-x64-msvc2019",
"inherits": "test-base",
"configurePreset": "windows-x64-msvc2019"
},
{
"name": "windows-x86-msvc2022",
"inherits": "test-base",
"configurePreset": "windows-x86-msvc2022"
},
{
"name": "windows-x64-msvc2022",
"inherits": "test-base",
"configurePreset": "windows-x64-msvc2022"
}
]
}