Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a meson build system #225

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Add a meson build system #225

wants to merge 2 commits into from

Commits on May 7, 2020

  1. meson: Add a meson build system

    meson is a build system generator similar to cmake or autotools, but
    without the crazy of either of those languages. It provides a pleasant
    scripting language that is inspired by languages like python, but is not
    python. It has a non-turing complete language, with an emphasis on
    upstream functionality instead of downstream scripts. It has support for
    most Unix-like OSes, including linux, the four major BSDs, and macOS.
    this includes support for abstracting dependency discovery, using
    pkg-config, macOS frameworks, cmake, and some hand coded extensions.
    
    It provides nice features like builtin support for debug builds,
    changing from static to shared library builds, turning warning arguments
    on and off, generates for pkg-config, and other modern niceties.
    
    For g810-led this provides a number of advantages for distro packaging.
    Distros already use meson for projects like mesa, systemd, and gnome, so
    they're packaging wrappers already know how to configure, build, and
    install meson based packages. It also provides advantages when moving to
    other platforms, as meson understands the difference between clang,
    apple's clang fork, gcc, and a host of other compilers.
    dcbaker committed May 7, 2020
    Configuration menu
    Copy the full SHA
    04370a1 View commit details
    Browse the repository at this point in the history
  2. meson: Add a pkgconfig for libg810-led

    This makes it much easier to link against libg810-led than manually
    specifying compiler options, especially since in some cases you need to
    pass extra cppflags.
    dcbaker committed May 7, 2020
    Configuration menu
    Copy the full SHA
    69b70ee View commit details
    Browse the repository at this point in the history