1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 13:54:57 +00:00

Basic Presets for an Ubuntu with ad936x

This commit is contained in:
Xavier Guerrero 2024-09-25 16:06:00 +02:00
parent d33ab59cea
commit 5975a5590d
No known key found for this signature in database
GPG Key ID: 0CB01876EFF7510B

View File

@ -2,14 +2,11 @@
"version": 8, "version": 8,
"configurePresets": [ "configurePresets": [
{ {
"name": "basic", "name": "debug",
"displayName": "basic", "description": "Basic debug flags",
"description": "Basic common flags",
"binaryDir": "${sourceDir}/build-basic",
"cacheVariables": { "cacheVariables": {
"CMAKE_C_COMPILER": "/usr/bin/gcc", "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_CXX_COMPILER": "/usr/bin/g++", "CMAKE_BUILD_TYPE": "Debug",
"CMAKE_BUILD_TYPE": "Release",
"ENABLE_RAW_UDP": "ON", "ENABLE_RAW_UDP": "ON",
"ENABLE_ZMQ": "ON", "ENABLE_ZMQ": "ON",
"ENABLE_GLOG_AND_GFLAGS": "ON", "ENABLE_GLOG_AND_GFLAGS": "ON",
@ -18,31 +15,13 @@
} }
}, },
{ {
"name": "config-debug", "name": "ubuntu-ad936x",
"displayName": "gnss-standard-debug", "description": "Common flags for a Ubuntu with an ad936x",
"description": "Standard use", "binaryDir": "${sourceDir}/build-ubuntu-ad936x",
"generator": "Ninja", "inherits": "debug",
"binaryDir": "${sourceDir}/build-debug",
"inherits": "basic",
"cacheVariables": { "cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}", "CMAKE_C_COMPILER": "/usr/bin/gcc",
"CMAKE_BUILD_TYPE": "Debug", "CMAKE_CXX_COMPILER": "/usr/bin/g++",
"ENABLE_UHD": "ON",
"ENABLE_OSMOSDR": "ON",
"ENABLE_PLUTOSDR": "ON",
"ENABLE_AD936X_SDR": "ON"
}
},
{
"name": "config-release",
"displayName": "gnss-standard-release",
"description": "Standard use",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-release",
"inherits": "basic",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_BUILD_TYPE": "Release",
"ENABLE_UHD": "ON", "ENABLE_UHD": "ON",
"ENABLE_OSMOSDR": "ON", "ENABLE_OSMOSDR": "ON",
"ENABLE_PLUTOSDR": "ON", "ENABLE_PLUTOSDR": "ON",
@ -52,19 +31,12 @@
], ],
"buildPresets": [ "buildPresets": [
{ {
"name": "build-basic", "name": "debug",
"displayName": "Basic build", "configurePreset": "debug"
"configurePreset": "basic"
}, },
{ {
"name": "build-debug", "name": "ubuntu-ad936x",
"displayName": "Debug build", "configurePreset": "ubuntu-ad936x"
"configurePreset": "config-debug"
},
{
"name": "build-release",
"displayName": "Release build",
"configurePreset": "config-release"
} }
] ]
} }