diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-10-26 10:25:29 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-11-02 14:53:35 +0200 |
| commit | f5871e240d6d06e7e8ab0f0ded5d944e8b780cd3 (patch) | |
| tree | a4d9f10a769bb3cada1f4db07be7617e163edd58 /test cases/unit | |
| parent | 43e274c73365ed7c84553af4c51369db8714871e (diff) | |
| download | meson-f5871e240d6d06e7e8ab0f0ded5d944e8b780cd3.tar.gz | |
backends: Try guessing install tag for all installed files
It was only trying to guess install tag, and log missing tags, for files
installed by install_data(). Do it also for all other files, especially
custom_taget() that commonly installs generated headers.
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/98 install all targets/meson.build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test cases/unit/98 install all targets/meson.build b/test cases/unit/98 install all targets/meson.build index c90632aa6..3065b5f60 100644 --- a/test cases/unit/98 install all targets/meson.build +++ b/test cases/unit/98 install all targets/meson.build @@ -31,6 +31,22 @@ configure_file(input: 'foo.in', output: 'foo2-devel.h', static_library('static', 'lib.c', install: true, ) +custom_target('ct-header1', + output: ['ct-header1.h'], + command: ['script.py', '@OUTPUT@'], + install_dir: get_option('includedir'), + install: true, +) +custom_target('ct-header2', + output: ['ct-header2.h', 'ct-header3.h'], + command: ['script.py', '@OUTPUT@'], + install_dir: [false, get_option('includedir')], + install: true, +) +install_emptydir(get_option('includedir') / 'subdir-devel') +install_subdir('custom_files', + install_dir: get_option('includedir'), +) # Those files should have 'runtime' tag executable('app', 'main.c', |
