{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"IBMW_DDS_PROVIDER": "SYSTEM",
"IBMW_BUILD_TESTS": "OFF",
"IBMW_BUILD_RUNTIME": "ON",
"IBMW_BUILD_PROTOCOLS": "ON",
"IBMW_BUILD_CLI_TOOLS": "OFF",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_EXAMPLES": "OFF",
"IBMW_USE_FMT_LIB": "ON",
"IBMW_ENABLE_DLOPEN_DEEPBIND": "ON",
"IBMW_CONTEXT_DEFINE_GLOBAL_LOGGER_HANDLE": "ON",
"IBMW_BUILD_WITH_WERROR": "ON"
}
},
{
"name": "minimal",
"displayName": "Minimal — core runtime only",
"description": "Builds only the core runtime with no extensions or examples. Fastest build for development iteration.",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "dev",
"displayName": "Development — core + common extensions + examples",
"description": "Development build with commonly used extensions and examples enabled. Suitable for daily development.",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"IBMW_BUILD_EXAMPLES": "ON",
"IBMW_BUILD_ECHO_EXTENSION": "ON",
"IBMW_BUILD_PROXY_EXTENSION": "ON",
"IBMW_BUILD_LOG_CONTROL_EXTENSION": "ON",
"IBMW_BUILD_PARAMETER_EXTENSION": "ON",
"IBMW_BUILD_SERVICE_INTROSPECTION_EXTENSION": "ON",
"IBMW_BUILD_TIME_MANIPULATOR_EXTENSION": "ON",
"IBMW_BUILD_TOPIC_LOGGER_EXTENSION": "ON"
}
},
{
"name": "full",
"displayName": "Full — all buildable extensions + examples",
"description": "Builds everything that can be built without special system dependencies (excludes zenoh, opentelemetry). Includes the iceoryx shared-memory transport, which extends configure/build time noticeably, and the self-developed shm transport alongside it (driver name shm, so the two do not clash).",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"IBMW_BUILD_EXAMPLES": "ON",
"IBMW_BUILD_NET_EXTENSION": "ON",
"IBMW_BUILD_GRPC_EXTENSION": "ON",
"IBMW_BUILD_MQTT_EXTENSION": "ON",
"IBMW_BUILD_ECHO_EXTENSION": "ON",
"IBMW_BUILD_PROXY_EXTENSION": "ON",
"IBMW_BUILD_LOG_CONTROL_EXTENSION": "ON",
"IBMW_BUILD_PARAMETER_EXTENSION": "ON",
"IBMW_BUILD_SERVICE_INTROSPECTION_EXTENSION": "ON",
"IBMW_BUILD_TIME_MANIPULATOR_EXTENSION": "ON",
"IBMW_BUILD_TOPIC_LOGGER_EXTENSION": "ON",
"IBMW_BUILD_RECORD_PLAYBACK_EXTENSION": "ON",
"IBMW_BUILD_DDS_EXTENSION": "ON",
"IBMW_BUILD_ICEORYX_EXTENSION": "ON",
"IBMW_BUILD_SHM_EXTENSION": "ON",
"IBMW_BUILD_ROS2_TYPES": "ON"
}
},
{
"name": "iceoryx",
"displayName": "Iceoryx — dev build focused on the iceoryx transport",
"description": "Development build with examples and only the iceoryx shared-memory transport extension enabled. Useful for iterating on iceoryx demos and tests without paying the full-preset compile cost.",
"inherits": "dev",
"cacheVariables": {
"IBMW_BUILD_ICEORYX_EXTENSION": "ON"
}
},
{
"name": "shm",
"displayName": "Shm — dev build with the self-developed shared-memory transport",
"description": "Development build with examples and the self-developed zero-copy shm transport (no RouDi, no iceoryx). Linux/OHOS only.",
"inherits": "dev",
"binaryDir": "${sourceDir}/build-shm",
"cacheVariables": {
"IBMW_BUILD_SHM_EXTENSION": "ON",
"IBMW_BUILD_ICEORYX_EXTENSION": "OFF"
}
},
{
"name": "selfdev-core",
"displayName": "Selfdev core — shm transport without Fast DDS, ROS2 or IDL",
"description": "Core runtime for the self-developed application layer: the shm transport and the selfdev crash handler, containers and coroutines, with no DDS, ROS2, iceoryx or IDL-generated protocol types. scripts/audit_core_deps.sh checks the result. Linux/OHOS only.",
"inherits": "base",
"binaryDir": "${sourceDir}/build-selfdev-core",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"IBMW_BUILD_PROTOCOLS": "OFF",
"IBMW_BUILD_TESTS": "ON",
"IBMW_BUILD_SHM_EXTENSION": "ON",
"IBMW_BUILD_ICEORYX_EXTENSION": "OFF",
"IBMW_BUILD_DDS_EXTENSION": "OFF",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_ROS2_TYPES": "OFF",
"IBMW_BUILD_ROS2_EXTENSION": "OFF",
"IBMW_BUILD_BENCHMARKS": "OFF",
"IBMW_SELFDEV_CRASH_HANDLER": "ON",
"IBMW_SELFDEV_CONCURRENT": "ON",
"IBMW_EXECUTOR_USE_SELFDEV_CORO": "ON",
"IBMW_TARGET_ROS2_TIER": "none"
}
},
{
"name": "together-ros2-minimal-sdk",
"displayName": "Together — Humble minimal DDS SDK",
"description": "Compatibility-focused build using an explicit Humble Fast DDS 2.6.12/Fast CDR 1.0.29 prefix, without ROS2 runtime or examples.",
"binaryDir": "${sourceDir}/build-together-ros2-minimal-sdk",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"IBMW_DDS_PROVIDER": "ROS2_MINIMAL_SDK",
"IBMW_ROS2_MINIMAL_SDK_PREFIX": "$env{IBMW_ROS2_MINIMAL_SDK_PREFIX}",
"IBMW_BUILD_DDS_EXTENSION": "ON",
"IBMW_BUILD_ROS2_TYPES": "ON",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_ROS2_EXTENSION": "OFF",
"IBMW_BUILD_EXAMPLES": "OFF",
"IBMW_BUILD_TESTS": "OFF"
}
},
{
"name": "ros2",
"displayName": "ROS 2 (DEPRECATED) — full build with ROS 2 rcl integration",
"description": "DEPRECATED: Full build with ROS 2 rcl support. Use 'full' preset instead — IBMW now provides pure-DDS alternatives for all ROS2 interop (pub/sub and RPC/Service). Requires ROS 2 (Humble or Jazzy) to be sourced.",
"inherits": "full",
"cacheVariables": {
"IBMW_BUILD_WITH_ROS2": "ON",
"IBMW_BUILD_ROS2_EXTENSION": "ON"
}
},
{
"name": "release",
"displayName": "Release — optimized build, no examples",
"description": "Optimized release build of the core runtime and all extensions, without examples or tests.",
"inherits": "full",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"IBMW_BUILD_EXAMPLES": "OFF"
}
},
{
"name": "test",
"displayName": "Test — dev build with tests enabled",
"description": "Development build with tests enabled for CI/CD pipelines.",
"inherits": "dev",
"cacheVariables": {
"IBMW_BUILD_TESTS": "ON"
}
},
{
"name": "asan",
"displayName": "ASan — test build with AddressSanitizer and UBSan",
"description": "Test build instrumented with AddressSanitizer and UndefinedBehaviorSanitizer.",
"inherits": "test",
"binaryDir": "${sourceDir}/build-asan",
"cacheVariables": {
"IBMW_ENABLE_ASAN": "ON",
"IBMW_ENABLE_UBSAN": "ON"
}
},
{
"name": "tsan",
"displayName": "TSan — test build with ThreadSanitizer",
"description": "Test build instrumented with ThreadSanitizer.",
"inherits": "test",
"binaryDir": "${sourceDir}/build-tsan",
"cacheVariables": {
"IBMW_ENABLE_TSAN": "ON"
}
},
{
"name": "cross-aarch64-minimal",
"displayName": "Cross AArch64 — minimal runtime scaffolding",
"description": "Configures a minimal AArch64 cross build with direct ROS2 feature tiers disabled by default.",
"inherits": "base",
"binaryDir": "${sourceDir}/build-aarch64",
"toolchainFile": "${sourceDir}/cmake/toolchains/aarch64-linux-gnu.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_ROS2_TYPES": "OFF",
"IBMW_TARGET_ROS2_TIER": "none"
}
},
{
"name": "cross-aarch64-dds-source-deps",
"displayName": "Cross AArch64 — DDS with source-built target deps",
"description": "Configures an AArch64 DDS build lane with ExternalProject source-prefix targets for TinyXML2, foonathan_memory, FastCDR, and FastDDS. Build target ibmw_third_party_source_prefix first, then reconfigure/build against that prefix.",
"inherits": "cross-aarch64-minimal",
"binaryDir": "${sourceDir}/build-aarch64-dds-source-deps",
"cacheVariables": {
"IBMW_ENABLE_THIRD_PARTY_SOURCE_BUILD": "ON",
"IBMW_DDS_PROVIDER": "SOURCE_FASTDDS3",
"IBMW_THIRD_PARTY_SOURCE_BUILD_ONLY": "ON",
"IBMW_THIRD_PARTY_SOURCE_PREFIX": "${sourceDir}/build-aarch64-dds-source-deps/third_party/install",
"IBMW_THIRD_PARTY_SOURCE_BASE_DIR": "${sourceDir}/build-aarch64-dds-source-deps/third_party/build",
"IBMW_BUILD_PROTOCOLS": "ON",
"IBMW_BUILD_DDS_EXTENSION": "ON",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_ROS2_TYPES": "OFF",
"IBMW_BUILD_ROS2_EXTENSION": "OFF",
"IBMW_TARGET_ROS2_TIER": "none"
}
},
{
"name": "cross-aarch64-dds-source",
"displayName": "Cross AArch64 — DDS source-prefix second pass",
"description": "Second configure pass after building cross-aarch64-dds-source-deps/ibmw_third_party_source_prefix.",
"inherits": "cross-aarch64-dds-source-deps",
"cacheVariables": {
"IBMW_THIRD_PARTY_SOURCE_BUILD_ONLY": "OFF"
}
},
{
"name": "cross-ohos-arm64-minimal",
"displayName": "Cross OHOS ARM64 — minimal runtime scaffolding",
"description": "Configures a minimal OHOS arm64-v8a cross build with ROS2-related feature tiers disabled by default.",
"inherits": "base",
"binaryDir": "${sourceDir}/build-ohos-arm64-minimal",
"toolchainFile": "${sourceDir}/cmake/toolchains/ohos-arm64-v8a.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"IBMW_BUILD_PROTOCOLS": "OFF",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_ROS2_TYPES": "OFF",
"IBMW_BUILD_ROS2_EXTENSION": "OFF",
"IBMW_TARGET_ROS2_TIER": "none"
}
},
{
"name": "cross-ohos-arm64-selfdev-core",
"displayName": "Cross OHOS ARM64 — selfdev core",
"description": "The selfdev-core runtime cross-built for OHOS arm64-v8a: shm transport and selfdev components, no DDS, ROS2, iceoryx or IDL. Like the other OHOS builds it needs selfdev/shm/scripts/ohos/ibmw-core-workaround.diff applied and CMAKE_CXX_COMPILER_LAUNCHER=selfdev/shm/scripts/ohos/ibmw-core-launcher.sh.",
"inherits": "cross-ohos-arm64-minimal",
"binaryDir": "${sourceDir}/build-ohos-arm64-selfdev-core",
"cacheVariables": {
"IBMW_BUILD_TESTS": "ON",
"IBMW_BUILD_SHM_EXTENSION": "ON",
"IBMW_BUILD_ICEORYX_EXTENSION": "OFF",
"IBMW_BUILD_DDS_EXTENSION": "OFF",
"IBMW_BUILD_BENCHMARKS": "OFF",
"IBMW_SELFDEV_CRASH_HANDLER": "ON",
"IBMW_SELFDEV_CONCURRENT": "ON",
"IBMW_EXECUTOR_USE_SELFDEV_CORO": "ON"
}
},
{
"name": "cross-ohos-arm64-dds-source-deps",
"displayName": "Cross OHOS ARM64 — DDS with source-built target deps",
"description": "Configures an OHOS ARM64 DDS build lane with ExternalProject source-prefix targets for TinyXML2, foonathan_memory, FastCDR, and FastDDS. Build target ibmw_third_party_source_prefix first, then reconfigure/build against that prefix.",
"inherits": "cross-ohos-arm64-minimal",
"binaryDir": "${sourceDir}/build-ohos-arm64-dds-source-deps",
"cacheVariables": {
"IBMW_ENABLE_THIRD_PARTY_SOURCE_BUILD": "ON",
"IBMW_DDS_PROVIDER": "SOURCE_FASTDDS3",
"IBMW_THIRD_PARTY_SOURCE_BUILD_ONLY": "ON",
"IBMW_THIRD_PARTY_SOURCE_PREFIX": "${sourceDir}/build-ohos-arm64-dds-source-deps/third_party/install",
"IBMW_THIRD_PARTY_SOURCE_BASE_DIR": "${sourceDir}/build-ohos-arm64-dds-source-deps/third_party/build",
"IBMW_BUILD_PROTOCOLS": "OFF",
"IBMW_BUILD_DDS_EXTENSION": "ON",
"IBMW_BUILD_WITH_ROS2": "OFF",
"IBMW_BUILD_ROS2_TYPES": "OFF",
"IBMW_BUILD_ROS2_EXTENSION": "OFF",
"IBMW_TARGET_ROS2_TIER": "none"
}
},
{
"name": "cross-ohos-arm64-dds-source",
"displayName": "Cross OHOS ARM64 — DDS source-prefix second pass",
"description": "Second configure pass after building cross-ohos-arm64-dds-source-deps/ibmw_third_party_source_prefix.",
"inherits": "cross-ohos-arm64-dds-source-deps",
"cacheVariables": {
"IBMW_THIRD_PARTY_SOURCE_BUILD_ONLY": "OFF"
}
}
],
"buildPresets": [
{
"name": "minimal",
"configurePreset": "minimal"
},
{
"name": "dev",
"configurePreset": "dev"
},
{
"name": "full",
"configurePreset": "full"
},
{
"name": "iceoryx",
"configurePreset": "iceoryx"
},
{
"name": "shm",
"configurePreset": "shm"
},
{
"name": "selfdev-core",
"configurePreset": "selfdev-core"
},
{
"name": "together-ros2-minimal-sdk",
"configurePreset": "together-ros2-minimal-sdk"
},
{
"name": "ros2",
"configurePreset": "ros2"
},
{
"name": "release",
"configurePreset": "release"
},
{
"name": "test",
"configurePreset": "test"
},
{
"name": "asan",
"configurePreset": "asan"
},
{
"name": "tsan",
"configurePreset": "tsan"
},
{
"name": "cross-aarch64-minimal",
"configurePreset": "cross-aarch64-minimal"
},
{
"name": "cross-aarch64-dds-source-deps",
"configurePreset": "cross-aarch64-dds-source-deps"
},
{
"name": "cross-aarch64-dds-source",
"configurePreset": "cross-aarch64-dds-source"
},
{
"name": "cross-ohos-arm64-minimal",
"configurePreset": "cross-ohos-arm64-minimal"
},
{
"name": "cross-ohos-arm64-selfdev-core",
"configurePreset": "cross-ohos-arm64-selfdev-core"
},
{
"name": "cross-ohos-arm64-dds-source-deps",
"configurePreset": "cross-ohos-arm64-dds-source-deps"
},
{
"name": "cross-ohos-arm64-dds-source",
"configurePreset": "cross-ohos-arm64-dds-source"
}
]
}