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 Meson buildsystem support #424

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

Commits on Mar 18, 2024

  1. meson: Add a Meson based build system

    This is primarily intended to be useful for projects using Meson wishing
    to consume cxxopts as a subproject. By hosting the files upstream users
    get the benefit of automatic parity with the CMake based install
    provided by an OS vendor or distribution.
    
    The implementation attempts to mirror the CMake build as much as
    possible, with the exception of generating the cmake-config files, which
    Meson doesn't currently support. It uses a small python script to parse
    the cxxopts.hpp header to extract the version, due to a concious design
    decision of Meson to leave such complex logic to external scripting
    languages like Python.
    dcbaker committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    feaa0f9 View commit details
    Browse the repository at this point in the history
  2. CI: add basic Meson testing

    I've tried to be a bit more minimal here than the CMake tests are, since
    there's already a good cross section of testing there. For Meson, I just
    want to touch test each of the major platforms to ensure that it works
    dcbaker committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    f226222 View commit details
    Browse the repository at this point in the history