Skip to content

colcon/colcon-meson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colcon-meson

A colcon extension for building Meson packages.

Install from the Python Package Index via:

pip install colcon-meson

Passing Meson arguments

Arguments can be passed to meson setup via --meson-args:

  1. set build options defined in meson_options.txt:
    colcon build --packages-select $PACKAGE --meson-args \
        -D$ARG1=$PARAM1 \
        -D$ARG2=$PARAM2
  2. set the build type:
    colcon build --packages-select $PACKAGE --meson-args \
        --buildtype=debugoptimized

See meson setup -h for a detailed list of arguments.