diff options
Diffstat (limited to 'meson/test cases/common/79 same basename/meson.build')
-rw-r--r-- | meson/test cases/common/79 same basename/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meson/test cases/common/79 same basename/meson.build b/meson/test cases/common/79 same basename/meson.build new file mode 100644 index 000000000..856c536c0 --- /dev/null +++ b/meson/test cases/common/79 same basename/meson.build @@ -0,0 +1,14 @@ +project('same basename', 'c') + +subdir('sharedsub') +subdir('staticsub') + +# Use the same source file to check that each top level target +# has its own unique working directory. If they don't +# then the .o files will clobber each other. + +exe1 = executable('name', 'exe1.c', link_with : stlib) +exe2 = executable('name2', 'exe2.c', link_with : shlib) + +test('static', exe1) +test('shared', exe2) |