aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorAlexis Jeandet <alexis.jeandet@member.fsf.org>2018-04-28 17:14:31 +0200
committerAlexis Jeandet <alexis.jeandet@member.fsf.org>2018-04-28 17:14:31 +0200
commit2fc0a11062757c7f621b53d6ccfc158889c18544 (patch)
treed0b9464a34089729a0609c0de92c59dafada611f /mesonbuild/interpreter.py
parentf8604a912881e3c1b2555a576d433849d9b0c848 (diff)
downloadmeson-2fc0a11062757c7f621b53d6ccfc158889c18544.zip
meson-2fc0a11062757c7f621b53d6ccfc158889c18544.tar.gz
meson-2fc0a11062757c7f621b53d6ccfc158889c18544.tar.bz2
[Qt module] Privates headers: Implemented private_headers option
This commit adds private_headers option in dependency method which tells QtDependency to add private headers include path to build flags. Since there is no easy way to do this with pkg-config only qmake method supports this, so with private_headers set qmake will always be used. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index c948778..0e48d66 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -1656,7 +1656,7 @@ permitted_kwargs = {'add_global_arguments': {'language'},
'build_target': known_build_target_kwargs,
'configure_file': {'input', 'output', 'configuration', 'command', 'install_dir', 'capture', 'install', 'format'},
'custom_target': {'input', 'output', 'command', 'install', 'install_dir', 'build_always', 'capture', 'depends', 'depend_files', 'depfile', 'build_by_default'},
- 'dependency': {'default_options', 'fallback', 'language', 'main', 'method', 'modules', 'optional_modules', 'native', 'required', 'static', 'version'},
+ 'dependency': {'default_options', 'fallback', 'language', 'main', 'method', 'modules', 'optional_modules', 'native', 'required', 'static', 'version', 'private_headers'},
'declare_dependency': {'include_directories', 'link_with', 'sources', 'dependencies', 'compile_args', 'link_args', 'link_whole', 'version'},
'executable': build.known_exe_kwargs,
'find_program': {'required', 'native'},