17 Star 122 Fork 35

AGIROS/AimRT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.bat 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
zhangyi 提交于 2024-11-15 19:56 . update v0.9.0-rc2
@echo off
setlocal
if exist .\build\install (
rmdir /s /q .\build\install
)
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=OFF ^
-DAIMRT_BUILD_NET_PLUGIN=ON ^
-DAIMRT_BUILD_MQTT_PLUGIN=OFF ^
-DAIMRT_BUILD_ZENOH_PLUGIN=OFF ^
-DAIMRT_BUILD_ICEORYX_PLUGIN=OFF ^
-DAIMRT_BUILD_ROS2_PLUGIN=OFF ^
-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=OFF ^
-DAIMRT_BUILD_GRPC_PLUGIN=OFF ^
-DAIMRT_BUILD_ECHO_PLUGIN=OFF ^
-DAIMRT_BUILD_PYTHON_PACKAGE=ON ^
%*
if %errorlevel% neq 0 (
echo cmake failed
exit /b 1
)
cmake --build build --config Release --target install --parallel %NUMBER_OF_PROCESSORS%
if %errorlevel% neq 0 (
echo build failed
exit /b 1
)
endlocal
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/agiros/AimRT.git
git@gitee.com:agiros/AimRT.git
agiros
AimRT
AimRT
master

搜索帮助