Files
SystemC-Components-Test/CMakePresets.json
Eyck Jentzsch 572b4a2b27
All checks were successful
SCC Test/pipeline/head This commit looks good
adds test preset and updates README.md
2025-09-12 12:31:12 +02:00

55 lines
1.5 KiB
JSON

{
"version": 3,
"vendor": {
"conan": {}
},
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "Base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
"CMAKE_CXX_STANDARD": "17",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "cmake-conan/conan_provider.cmake",
"CONAN_BUILD_PROFILE": "auto-cmake"
}
},
{
"name": "Debug",
"inherits": "Base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "RelWithDebInfo",
"inherits": "Base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "Release",
"inherits": "Base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"testPresets": [
{
"name": "test-all",
"description": "run all test with Debug build",
"displayName": "",
"configurePreset": "Debug"
}
]
}