1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/waftools
Stefano Pigozzi 7b0de4aa0e build: add a check_program check
This wraps waf's find_program in our own check boilerplate code so that it
can be used in the declarative dependencies section of the wscript.

Can be used like this:

    }, {
        'name': 'sed',
        'desc': 'sed program',
        'func': check_program('sed', 'SED'),
    }, {

First argument is the program name, and the second is the waf variable name
where the program path will be stored. In this example we will be able to
refer to sed with ${{SED}} when creating waf Tasks in wscript_build.

/cc @giselher: I think you need this for wayland-scanner.
2014-09-03 23:52:56 +02:00
..
checks build: add a check_program check 2014-09-03 23:52:56 +02:00
detections build: enable compiler optimization by default 2014-07-20 00:08:36 +02:00
fragments build: drop check for XF86keysym.h 2014-08-16 21:57:51 +02:00
generators build: expose waf variants to the user 2014-08-06 09:31:59 +02:00
__init__.py
dependencies.py build: make deps_neg work with multiple dependencies 2013-11-29 23:31:17 +01:00
features.py build: hide duplicate options from --help 2013-12-26 10:09:17 +01:00
inflectors.py
syms.py build: syms: reindent 2014-08-05 12:57:34 +02:00
waf_customizations.py waf: make shlib tasks less noisy 2014-05-07 21:16:07 +02:00