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

Meson: fixes, cleanups, and modernizations #1024

Merged
merged 5 commits into from
Mar 20, 2024

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    5321976 View commit details
    Browse the repository at this point in the history
  2. meson: set a minimum version

    I picked 0.60 because it's a older, but it's also the version that adds
    the `meson.override_dependency()` function, which is the modern
    mechanism to declare a dependency to a parent scope.
    
    Without a minimum version set, Meson will not give warnings about
    deprecations or feature misuses.
    dcbaker committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    f541193 View commit details
    Browse the repository at this point in the history
  3. meson: use modern override_dependency method

    This allows consumers to replace
    `subproject('CLI11').get_variable('CLI11_dep')` with the same
    `dependency('CLI11')` call that they would be using to discover via
    pkg-config.
    dcbaker committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    8a7277c View commit details
    Browse the repository at this point in the history
  4. meson: Fix tests using ensure_utf8 helpers

    There are a couple of distinct issues here:
     1. The tests don't actually depend on the helpers, so they wont be
        built automatically
     2. The paths encoding by the pre-processor is relative, but there's no
        guarantee as to where they'll run. As such, encode an absolute path.
        An alternative would be to pass them as arguments.
    dcbaker committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    d901914 View commit details
    Browse the repository at this point in the history
  5. CI: run Meson tests

    dcbaker committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    2af1152 View commit details
    Browse the repository at this point in the history