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
- Host: GitHub
- URL: https://github.com/colcon/colcon-meson
- Owner: colcon
- License: apache-2.0
- Created: 2022-06-10T01:05:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-09-23T21:48:38.000Z (9 months ago)
- Last Synced: 2025-09-23T22:25:08.787Z (9 months ago)
- Topics: colcon, meson
- Language: Python
- Homepage: http://colcon.readthedocs.io
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.