An open API service indexing awesome lists of open source software.

https://github.com/colcon/colcon-meson

Extension for colcon to support Meson packages
https://github.com/colcon/colcon-meson

colcon meson

Last synced: 5 months ago
JSON representation

Extension for colcon to support Meson packages

Awesome Lists containing this project

README

          

# colcon-meson

A colcon extension for building [Meson](https://mesonbuild.com) packages.

Install from the Python Package Index via:
```sh
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`:
```sh
colcon build --packages-select $PACKAGE --meson-args \
-D$ARG1=$PARAM1 \
-D$ARG2=$PARAM2
```
2. set the build type:
```sh
colcon build --packages-select $PACKAGE --meson-args \
--buildtype=debugoptimized
```

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