aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/3 static
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-03-03 20:05:04 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-03-03 20:05:04 +0200
commit9262fe600ad22180d7e1a5179fa5d4f681b17cb7 (patch)
tree8e0cc6f865577c3b90f0b35f41d11eae77986090 /test cases/common/3 static
parent83caae1bcb816433d66c6472c701907aa0ec0711 (diff)
downloadmeson-9262fe600ad22180d7e1a5179fa5d4f681b17cb7.zip
meson-9262fe600ad22180d7e1a5179fa5d4f681b17cb7.tar.gz
meson-9262fe600ad22180d7e1a5179fa5d4f681b17cb7.tar.bz2
Split test suite into common and platform dependent parts.
Diffstat (limited to 'test cases/common/3 static')
-rw-r--r--test cases/common/3 static/libfile.c3
-rw-r--r--test cases/common/3 static/meson.build2
2 files changed, 5 insertions, 0 deletions
diff --git a/test cases/common/3 static/libfile.c b/test cases/common/3 static/libfile.c
new file mode 100644
index 0000000..80a427b
--- /dev/null
+++ b/test cases/common/3 static/libfile.c
@@ -0,0 +1,3 @@
+int libfunc() {
+ return 3;
+}
diff --git a/test cases/common/3 static/meson.build b/test cases/common/3 static/meson.build
new file mode 100644
index 0000000..fd33e1c
--- /dev/null
+++ b/test cases/common/3 static/meson.build
@@ -0,0 +1,2 @@
+project('static library test', 'c')
+lib = static_library('mylib', 'libfile.c')