naval_swarm/CMakePresets.json
2025-02-03 21:25:04 +01:00

226 lines
5.2 KiB
JSON

{
"version": 5,
"configurePresets": [
{
"name": "default",
"hidden": true,
"generator": "Ninja",
"installDir": "${sourceDir}/.out/install/${presetName}",
"binaryDir": "${sourceDir}/.out/build/${presetName}",
"toolchainFile": "${sourceDir}/extern/vcpkg/scripts/buildsystems/vcpkg.cmake",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"environment": {
"NINJA_STATUS": "%p [%es] (%f/%t) -"
}
},
{
"name": "default-verbose",
"inherits": "default",
"hidden": true,
"environment": {
"VERBOSE": "true"
}
},
{
"name": "msvc",
"inherits": "default",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"displayName": "MSVC Debug",
"name": "msvc-debug",
"inherits": "msvc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"displayName": "MSVC Release",
"name": "msvc-release",
"inherits": "msvc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"displayName": "MSVC RelWithDebInfo",
"name": "msvc-relwdebinfo",
"inherits": "msvc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "gcc",
"inherits": "default",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
},
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"displayName": "GCC Debug",
"name": "gcc-debug",
"inherits": "gcc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"displayName": "GCC Release",
"name": "gcc-release",
"inherits": "gcc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"displayName": "GCC RelWithDebInfo",
"name": "gcc-relwdebinfo",
"inherits": "gcc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "gcc-windows",
"inherits": "default",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"displayName": "GCC Debug",
"name": "gcc-windows-debug",
"inherits": "gcc-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"displayName": "GCC Release",
"name": "gcc-windows-release",
"inherits": "gcc-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"displayName": "GCC RelWithDebInfo",
"name": "gcc-windows-relwdebinfo",
"inherits": "gcc-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "clang",
"inherits": "default",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
},
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"displayName": "Clang Debug",
"name": "clang-debug",
"inherits": "clang",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"displayName": "Clang Release",
"name": "clang-release",
"inherits": "clang",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"displayName": "Clang RelWithDebInfo",
"name": "clang-relwdebinfo",
"inherits": "clang",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "clang-windows",
"inherits": "default",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"displayName": "Clang Debug",
"name": "clang-windows-debug",
"inherits": "clang-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"displayName": "Clang Release",
"name": "clang-windows-release",
"inherits": "clang-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"displayName": "Clang RelWithDebInfo",
"name": "clang-windows-relwdebinfo",
"inherits": "clang-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
}
]
}