A colcon extension for building Meson packages.
Install from the Python Package Index via:
pip install colcon-meson
Arguments can be passed to meson setup
via --meson-args
:
meson_options.txt
:
colcon build --packages-select $PACKAGE --meson-args \
-D$ARG1=$PARAM1 \
-D$ARG2=$PARAM2
colcon build --packages-select $PACKAGE --meson-args \
--buildtype=debugoptimized
See meson setup -h
for a detailed list of arguments.