summaryrefslogtreecommitdiff
path: root/tools/meson-check-compilation.sh
Commit message (Collapse)AuthorAgeFilesLines
* meson: fix checking of linker argsZbigniew Jędrzejewski-Szmek2017-04-251-1/+1
| | | | | | | | | Previous checks did nothing, because cc.has_argument only does compilation, without any linking. Unfortunately cc.links() cannot be used, because it does not accept any options. Providing the test file as a static source is easiest, even if not every elegant. https://github.com/mesonbuild/meson/issues/1676
* meson: use "sh -eu" and make .sh +x, .py -xZbigniew Jędrzejewski-Szmek2017-04-231-1/+1
| | | | | | | | | Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors.
* meson: add dist-check-includes replacementZbigniew Jędrzejewski-Szmek2017-04-231-0/+3
This is more-or-less the same as dist-check-includes. meson doesn't exactly make it easy to call a compiler with a custom set of options. The tests are included in the test listing.