diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-05-30 23:32:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 23:32:31 +0300 |
commit | 05f8b1bd7829c425a8a4838394b8c2d5964c7553 (patch) | |
tree | 1cfbbf9280a0f8c4ceeb9c5ee81f86b54ad61066 /mesonbuild/compilers/compilers.py | |
parent | 00654aeb11e110d41567a0ff00300619c705170f (diff) | |
parent | 27b290d6dff14fdb7717d414fb941aca0fd2dc55 (diff) | |
download | meson-05f8b1bd7829c425a8a4838394b8c2d5964c7553.zip meson-05f8b1bd7829c425a8a4838394b8c2d5964c7553.tar.gz meson-05f8b1bd7829c425a8a4838394b8c2d5964c7553.tar.bz2 |
Merge pull request #3643 from mesonbuild/nirbheek/check_header
New compiler method: check_header
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 56a0ab2..c5f7df3 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -710,6 +710,9 @@ class Compiler: def get_option_link_args(self, options): return [] + def check_header(self, *args, **kwargs): + raise EnvironmentException('Language %s does not support header checks.' % self.get_display_language()) + def has_header(self, *args, **kwargs): raise EnvironmentException('Language %s does not support header checks.' % self.get_display_language()) |