vendored-meson/meson/test cases/common/253 subproject dependency variables/meson.build
raw| 1 | project('subproject dependency variables', 'c') |
| 2 | |
| 3 | subfiles_dep = subproject('subfiles').get_variable('files_dep') |
| 4 | |
| 5 | executable( |
| 6 | 'foo', |
| 7 | join_paths(subfiles_dep.get_variable('pkgdatadir'), 'foo.c') |
| 8 | ) |
| 9 | |
| 10 | executable( |
| 11 | 'foo2', |
| 12 | subfiles_dep.get_variable('pkgdatadir2') / 'foo.c' |
| 13 | ) |
| 14 | |
| 15 | executable( |
| 16 | 'foor32', |
| 17 | subfiles_dep.get_variable('pkgdatadir3') / 'foo.c' |
| 18 | ) |