110 lines
4.0 KiB
JSON
110 lines
4.0 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": "am571x_idk_Debug",
|
||
|
|
"inherits": "default",
|
||
|
|
"displayName": "am571x-idk Debug",
|
||
|
|
"description": "Degub build for AM571x-IDK board(arm cortex-a15)",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
||
|
|
"CMAKE_TOOLCHAIN_FILE": "${workspaceFolder}/../../sitara_depot/compile/toolchain.cmake",
|
||
|
|
"BOARD": "am5718-idk"
|
||
|
|
},
|
||
|
|
"environment": {
|
||
|
|
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/ti/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-",
|
||
|
|
"ENV_TARGET_SYSTOOT_PATH": "/home/svad/ti/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "am571x_idk_Release",
|
||
|
|
"inherits": "am571x_idk_Debug",
|
||
|
|
"displayName": "am571x-idk Release",
|
||
|
|
"description": "Release build for AM571x-IDK board(arm cortex-a15)",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Release"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "BeagleBoneAI_Debug",
|
||
|
|
"inherits": "default",
|
||
|
|
"displayName": "BeagleBoneAI Debug",
|
||
|
|
"description": "Degub build for BeagleBoneAI board(arm cortex-a15)",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
||
|
|
"CMAKE_TOOLCHAIN_FILE": "${workspaceFolder}/../../sitara_depot/compile/toolchain.cmake",
|
||
|
|
"BOARD": "BeagleBoneAI"
|
||
|
|
},
|
||
|
|
"environment": {
|
||
|
|
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/ti/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-",
|
||
|
|
"ENV_TARGET_SYSTOOT_PATH": "/home/svad/armdev/beagle_board/sysroot"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "BeagleBoneAI_Release",
|
||
|
|
"inherits": "BeagleBoneAI_Debug",
|
||
|
|
"displayName": "BeagleBoneAI Release",
|
||
|
|
"description": "Release build for BeagleBoneAI board(arm cortex-a15)",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Release"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
|
||
|
|
"buildPresets": [
|
||
|
|
{
|
||
|
|
"name": "x86_64 Debug",
|
||
|
|
"configurePreset": "x86_64_Debug"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "x86_64 Release",
|
||
|
|
"configurePreset": "x86_64_Release"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "am571x-idk Debug",
|
||
|
|
"configurePreset": "am571x_idk_Debug"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "am571x-idk Release",
|
||
|
|
"configurePreset": "am571x_idk_Release"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "BeagleBoneAI Debug",
|
||
|
|
"configurePreset": "BeagleBoneAI_Debug"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "BeagleBoneAI Release",
|
||
|
|
"configurePreset": "BeagleBoneAI_Release"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|