aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/200 install name_prefix name_suffix/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/200 install name_prefix name_suffix/meson.build')
-rw-r--r--meson/test cases/common/200 install name_prefix name_suffix/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/common/200 install name_prefix name_suffix/meson.build b/meson/test cases/common/200 install name_prefix name_suffix/meson.build
new file mode 100644
index 000000000..044f915c0
--- /dev/null
+++ b/meson/test cases/common/200 install name_prefix name_suffix/meson.build
@@ -0,0 +1,13 @@
+project('library with name_prefix name_suffix test', 'c')
+
+shared_library('foo', 'libfile.c', name_prefix: '', install : true)
+static_library('bar', 'libfile.c', name_prefix: '', install : true)
+
+shared_library('baz', 'libfile.c', name_suffix: 'cheese', install : true)
+static_library('qux', 'libfile.c', name_suffix: 'cheese', install : true)
+
+shared_library('corge', 'libfile.c', name_prefix: 'bow', name_suffix: 'stern', install : true)
+static_library('grault', 'libfile.c', name_prefix: 'bow', name_suffix: 'stern', install : true)
+
+# exercise default name_prefix and name_suffix
+shared_library('garply', 'libfile.c', name_prefix: [], name_suffix: [], install : true)