跳到主要内容

colcon-xmake Usage

Install

python3 -m pip install --break-system-packages -e .

Build with xmake backend

colcon build --packages-up-to <pkg>

Optional xmake flags:

  • --xmake-config-args
  • --xmake-build-args
  • --xmake-install-args
  • --xmake-timeout <seconds>
  • --xmake-skip-install (not supported for ros.ament_xmake)

Test

colcon test --packages-select <pkg>
colcon test-result --verbose

If --test-result-base is set, plugin writes xmake_test.junit.xml.