AimRT/build.sh
ATT_POWER 18d45dbb0f
feat: add proxy plugin to transfer messages from one backend to multiple backends (#108)
* feat(plugins): add proxy plugin

* feat: add proxy action

* feat: del the state in proxy action

* feat: format

* fix : add check not to pub same topic and msg_type

* fix: remove TimerSchedule  executor check

* docs: add docs

* doc: change docs

* fix: remove some unnessary code

* refactor(proxy_plugin): migrate TopicMetaKey to core/util directory

* fix: simplify the code

* format

* fix: struct bind

* perf(proxy): use action_raw_ptr capture rather than reference capture local variable

* docs: update proxy_plugin documentation and add example configuration

* fix: remove necessary check in echo plugin

* doc: add proxy plugin example docs

* fix: migrate recordplayback plugin and echo plugin's topic_meta_key into util

* fix: format

* fix: remove necessary code

* perf: remove unnecessary code
2024-11-23 10:25:48 +08:00

42 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
# exit on error and print each command
set -e
if [ -d ./build/install ]; then
rm -rf ./build/install
fi
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DAIMRT_INSTALL=ON \
-DCMAKE_INSTALL_PREFIX=./build/install \
-DAIMRT_BUILD_TESTS=OFF \
-DAIMRT_BUILD_EXAMPLES=ON \
-DAIMRT_BUILD_DOCUMENT=ON \
-DAIMRT_BUILD_RUNTIME=ON \
-DAIMRT_BUILD_CLI_TOOLS=ON \
-DAIMRT_BUILD_PYTHON_RUNTIME=ON \
-DAIMRT_USE_FMT_LIB=ON \
-DAIMRT_BUILD_WITH_PROTOBUF=ON \
-DAIMRT_USE_LOCAL_PROTOC_COMPILER=OFF \
-DAIMRT_USE_PROTOC_PYTHON_PLUGIN=OFF \
-DAIMRT_BUILD_WITH_ROS2=ON \
-DAIMRT_BUILD_NET_PLUGIN=ON \
-DAIMRT_BUILD_MQTT_PLUGIN=ON \
-DAIMRT_BUILD_ZENOH_PLUGIN=ON \
-DAIMRT_BUILD_ICEORYX_PLUGIN=ON \
-DAIMRT_BUILD_ROS2_PLUGIN=ON \
-DAIMRT_BUILD_RECORD_PLAYBACK_PLUGIN=ON \
-DAIMRT_BUILD_TIME_MANIPULATOR_PLUGIN=ON \
-DAIMRT_BUILD_PARAMETER_PLUGIN=ON \
-DAIMRT_BUILD_LOG_CONTROL_PLUGIN=ON \
-DAIMRT_BUILD_OPENTELEMETRY_PLUGIN=ON \
-DAIMRT_BUILD_GRPC_PLUGIN=ON \
-DAIMRT_BUILD_ECHO_PLUGIN=ON \
-DAIMRT_BUILD_PROXY_PLUGIN=ON \
-DAIMRT_BUILD_PYTHON_PACKAGE=ON \
$@
cmake --build build --config Release --target install --parallel $(nproc)