Skip to content

Poll on Meson build #56

@mikkelfj

Description

@mikkelfj

Is there any interest in support for the Meson build system?
If so, please write a comment explaining how / why, or why not.

Meson makes it possible to have dependencies on schema files and cause code to recompile partially and properly when changing a schema.

It requires Ninja and Python 3.4. Python is not exposed in build scripts and Meson has no dependencies on other Python libraries.

Meson install on Ubuntu:

apt-get update
apt-get install python3-pip
pip3 install meson

MacOS:

brew update
brew install meson

build:

git clone myproject
cd myproject
mkdir build
meson . build

I already ported it to flatcc 0.4.3 with the exception of a proper AppVeyor build for Windows CI (anyone up for fixing this?)

https://github.com/dvidelabs/flatcc/tree/meson

This branch is not maintained but could be integrated into the main project with sufficient interest.

A demo project using Meson to build a custom project, including a setup script to install Meson is found here: https://github.com/dvidelabs/flatcc-meson-sample

CMake likely would have to be supported as well, or are there no strong feelings about this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions