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

Improve meson setup #202

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

Commits on Aug 6, 2021

  1. Rename Meson option names to be more conventional.

    It is recommended [1] to not use (enable|disable) prefix on option
    names, as this is not autoconf.
    
    [1] https://mesonbuild.com/Style-guide.html#naming-options
    QuLogic committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    9c0095b View commit details
    Browse the repository at this point in the history
  2. Fix some dependency searching.

    * Packages that provide a pkg-config file or are supported by Meson
      should use `dependency`, not `find_library`.
    * Both `dl` and `m` are glibc-specific, and should be optional in order
      to build on other systems.
    QuLogic committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    c1d0b6b View commit details
    Browse the repository at this point in the history
  3. Use more Meson config options.

    Set `cpp_std` as a build option, use `include_directories`, and enable
    hidden symbol visiblity again.
    QuLogic committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    093465d View commit details
    Browse the repository at this point in the history