![ATT_POWER](/assets/img/avatar_default.png)
* CI: change build worlflow image tag from v20240927 to latest * fix: fix bagtrans tool support - Add AIMRT_BUILD_BAGTRANS option in CMakeLists.txt - Update build.bat, build.sh, test.bat and test.sh scripts to include bagtrans build option - Modify CMakeLists.txt in bagtrans directory to simplify build logic - Remove autopep8 dependency from bagtrans/requirements.txt * format : format the code * fix: Turn off the bagtrans compilation option on Windows * feat(tools): Update bagtrans tool build method - Change the build method of bagtrans tool from PyInstaller to using the build module to generate wheel files - Update CMakeLists.txt and setup.py files to adapt to the new build method - Update release notes, adding new information about the bagtrans tool * fix: format --------- Co-authored-by: yuguanlin <yuguanlin@agibot.com>
47 lines
1.2 KiB
Batchfile
47 lines
1.2 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
cmake -B build ^
|
|
-DCMAKE_BUILD_TYPE=Release ^
|
|
-DAIMRT_INSTALL=ON ^
|
|
-DCMAKE_INSTALL_PREFIX="./build/install" ^
|
|
-DAIMRT_BUILD_TESTS=ON ^
|
|
-DAIMRT_BUILD_EXAMPLES=ON ^
|
|
-DAIMRT_BUILD_DOCUMENT=ON ^
|
|
-DAIMRT_BUILD_RUNTIME=ON ^
|
|
-DAIMRT_BUILD_CLI_TOOLS=ON ^
|
|
-DAIMRT_BUILD_BAGTRANS=OFF ^
|
|
-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_PYTHON_PACKAGE=ON ^
|
|
%*
|
|
|
|
if %errorlevel% neq 0 (
|
|
echo cmake failed
|
|
exit /b 1
|
|
)
|
|
|
|
cmake --build build --config Release --parallel %NUMBER_OF_PROCESSORS%
|
|
|
|
if %errorlevel% neq 0 (
|
|
echo build failed
|
|
exit /b 1
|
|
)
|
|
|
|
cd build
|
|
ctest -C Release |