Skip to content
Snippets Groups Projects
Verified Commit a4379179 authored by Martin Stump's avatar Martin Stump
Browse files

Add CMakePresets.json


Signed-off-by: default avatarMartin Stump <martin.stump@mercedes-benz.com>
parent f3a4eb40
No related branches found
No related tags found
No related merge requests found
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default Config using Ninja generator",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/prefix"
}
},
{
"name": "devel",
"inherits": "default",
"displayName": "Development Config",
"description": "Development Config using Ninja Multi-Config generator",
"cacheVariables": {
"CMAKE_CXX_COMPILER_LAUNCHER": "/usr/bin/ccache",
"CMAKE_EXPORT_COMPILE_COMMANDS": true
}
}
],
"buildPresets": [
{
"name": "default",
"displayName": "Default Build",
"description": "Default Build in Release configuration",
"configurePreset": "default",
"configuration": "Release"
},
{
"name": "devel_Debug",
"displayName": "Development Build Debug",
"description": "Development Build in Debug configuration",
"configurePreset": "devel",
"configuration": "Debug"
},
{
"name": "devel_Release",
"displayName": "Development Build Release",
"description": "Development Build in Release configuration",
"configurePreset": "devel",
"configuration": "Release"
}
],
"testPresets": [
{
"name": "devel_Debug",
"displayName": "Development Test Debug",
"description": "Development Test in Debug configuration",
"configurePreset": "devel",
"configuration": "Debug"
},
{
"name": "devel_Release",
"displayName": "Development Test Release",
"description": "Development Test in Release configuration",
"configurePreset": "devel",
"configuration": "Release"
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment