A colcon plugin that adds xmake build and test support for ROS 2 packages.
It provides the xmake and ros.ament_xmake build types so that ROS 2 workspaces can include packages built with xmake alongside traditional CMake/ament packages.
Install from PyPI:
pip install colcon-xmakeOr install from source for development:
git clone https://github.com/ros-x/colcon-xmake.git
cd colcon-xmake
python3 -m pip install -e .colcon_core.task.buildxmakeros.ament_xmake
colcon_core.task.testxmakeros.ament_xmake
colcon_core.package_identificationxmake(optional generic identification viaxmake.lua)
colcon build --packages-up-to demo_xmake_cpp
colcon test --packages-select demo_xmake_cpp--xmake-config-args--xmake-build-args--xmake-install-args--xmake-test-args--xmake-timeout <seconds>--xmake-skip-install(not valid forros.ament_xmake)
--builddir/ install layout are managed by the plugin; do not pass these via--xmake-config-args.xmaketest results are exported to JUnit XML under--test-result-basewhen available.
docs/USAGE.mddocs/TESTING.mddocs/RELEASE.mdCHANGELOG.md
See the ros-x organization for related projects.
Apache License 2.0 -- see LICENSE for details.