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

Make it possible to override find_program [skip ci] #3218

Merged
merged 9 commits into from
Apr 16, 2018
Merged

Commits on Apr 15, 2018

  1. Configuration menu
    Copy the full SHA
    de65adb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdb57cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4256c0d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    998892e View commit details
    Browse the repository at this point in the history
  5. find_program: Only store successful lookups

    Otherwise we can't do the following workflow:
    
    if not find_program('foo', required : false).found()
      subproject('provides-foo')
    endif
    
    Where 'provides-foo' has a meson.override_find_program() on
    a configure_file() or similar.
    nirbheek committed Apr 15, 2018
    Configuration menu
    Copy the full SHA
    87c166d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    648e130 View commit details
    Browse the repository at this point in the history
  7. Added documentation [skip ci]

    jpakkane authored and nirbheek committed Apr 15, 2018
    Configuration menu
    Copy the full SHA
    f489aa7 View commit details
    Browse the repository at this point in the history
  8. Document that override_find_program works on configure_file [skip ci]

    Also link to the release notes snippet from the Reference manual
    nirbheek committed Apr 15, 2018
    Configuration menu
    Copy the full SHA
    0e6a332 View commit details
    Browse the repository at this point in the history
  9. find_program: Don't spam when called from a module

    The user doesn't need to know whether or not the program was found,
    especially not when it's spammed for every gnome.foo() function
    nirbheek committed Apr 15, 2018
    Configuration menu
    Copy the full SHA
    6cdd14f View commit details
    Browse the repository at this point in the history