79 lines
2.6 KiB
JSON
79 lines
2.6 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"displayName": "default",
|
|
"description": "Default build using Ninja generator",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
|
}
|
|
},
|
|
{
|
|
"name": "x86_64_Debug",
|
|
"inherits": "default",
|
|
"displayName": "x86_64 Debug",
|
|
"description": "Degub build for x86_64",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_CXX_COMPILER": "g++"
|
|
}
|
|
},
|
|
{
|
|
"name": "x86_64_Release",
|
|
"inherits": "x86_64_Debug",
|
|
"displayName": "x86_64 Release",
|
|
"description": "Release build for x86_64",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "am64xx_Debug",
|
|
"inherits": "default",
|
|
"displayName": "am64xx Debug",
|
|
"description": "Degub build for am64xx-evm board(arm cortex-a53)",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_TOOLCHAIN_FILE": "${workspaceFolder}/../../compile/toolchain.cmake",
|
|
"BOARD": "am64xx-evm"
|
|
},
|
|
"environment": {
|
|
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/opt/ti-processor-sdk-linux-am64xx-evm-09.02.00.08/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-",
|
|
"ENV_TARGET_SYSTOOT_PATH": "/opt/ti-processor-sdk-linux-am64xx-evm-09.02.00.08/linux-devkit/sysroots/aarch64-oe-linux"
|
|
}
|
|
},
|
|
{
|
|
"name": "am64xx_Release",
|
|
"inherits": "am64xx_Debug",
|
|
"displayName": "am64xx Release",
|
|
"description": "Release build for am64xx-evm board(arm cortex-a53)",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
}
|
|
],
|
|
|
|
"buildPresets": [
|
|
{
|
|
"name": "x86_64 Debug",
|
|
"configurePreset": "x86_64_Debug"
|
|
},
|
|
{
|
|
"name": "x86_64 Release",
|
|
"configurePreset": "x86_64_Release"
|
|
},
|
|
{
|
|
"name": "am64xx Release",
|
|
"configurePreset": "am64xx_Release"
|
|
},
|
|
{
|
|
"name": "am64xx Debug",
|
|
"configurePreset": "am64xx_Debug"
|
|
}
|
|
]
|
|
}
|