| 1 |
project('subbie') |
| 2 |
|
| 3 |
fs = import('fs') |
| 4 |
|
| 5 |
assert(fs.exists('subprojectfile.txt'), 'Subproject root file not found.') |
| 6 |
assert(fs.is_samepath(meson.project_source_root(), meson.current_source_dir()), 'is_samepath not detecting same directory') |
| 7 |
assert(fs.is_samepath(meson.project_build_root(), meson.current_build_dir()), 'is_samepath not detecting same directory') |
| 8 |
assert(fs.is_samepath(meson.global_source_root(), meson.current_source_dir() / '../..'), 'is_samepath not detecting same directory') |
| 9 |
assert(fs.is_samepath(meson.global_build_root(), meson.current_build_dir() / '../..'), 'is_samepath not detecting same directory') |
| 10 |
|
| 11 |
subdir('subsub') |