summaryrefslogtreecommitdiffstats
path: root/test cases/common/89 default library/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/89 default library/meson.build')
-rw-r--r--test cases/common/89 default library/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/89 default library/meson.build b/test cases/common/89 default library/meson.build
new file mode 100644
index 0000000..508f25f
--- /dev/null
+++ b/test cases/common/89 default library/meson.build
@@ -0,0 +1,10 @@
+project('default library', 'cpp')
+
+flib = library('ef', 'ef.cpp')
+exe = executable('eftest', 'eftest.cpp', link_with : flib)
+test('eftest', exe)
+
+# Same as above, but using build_target()
+flib2 = build_target('ef2', 'ef.cpp', target_type: 'library')
+exe2 = executable('eftest2', 'eftest.cpp', link_with : flib2)
+test('eftest2', exe2)