45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": { "major": 3, "minor": 22, "patch": 0 },
|
|
"configurePresets": [
|
|
{
|
|
"name": "host-debug",
|
|
"displayName": "Host development without Rockchip hardware",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"BUILD_TESTING": "ON",
|
|
"ROCKSTREAM_WITH_MPP": "OFF",
|
|
"ROCKSTREAM_WARNINGS_AS_ERRORS": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "host-asan",
|
|
"inherits": "host-debug",
|
|
"cacheVariables": { "ROCKSTREAM_SANITIZERS": "ON" }
|
|
},
|
|
{
|
|
"name": "rk3588-release",
|
|
"displayName": "Native RK3588 build with BSP MPP SDK",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"BUILD_TESTING": "ON",
|
|
"ROCKSTREAM_WITH_MPP": "ON"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{ "name": "host-debug", "configurePreset": "host-debug" },
|
|
{ "name": "host-asan", "configurePreset": "host-asan" },
|
|
{ "name": "rk3588-release", "configurePreset": "rk3588-release" }
|
|
],
|
|
"testPresets": [
|
|
{ "name": "host-debug", "configurePreset": "host-debug", "output": { "outputOnFailure": true } },
|
|
{ "name": "host-asan", "configurePreset": "host-asan", "output": { "outputOnFailure": true } },
|
|
{ "name": "rk3588-release", "configurePreset": "rk3588-release", "output": { "outputOnFailure": true } }
|
|
]
|
|
}
|