aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/osx/5 extra frameworks/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/osx/5 extra frameworks/meson.build')
-rw-r--r--meson/test cases/osx/5 extra frameworks/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/osx/5 extra frameworks/meson.build b/meson/test cases/osx/5 extra frameworks/meson.build
new file mode 100644
index 000000000..cb4847ea6
--- /dev/null
+++ b/meson/test cases/osx/5 extra frameworks/meson.build
@@ -0,0 +1,13 @@
+project('xcode extra framework test', 'c')
+
+dep_libs = dependency('OpenGL', method : 'extraframework')
+assert(dep_libs.type_name() == 'extraframeworks', 'type_name is ' + dep_libs.type_name())
+
+dep_main = dependency('Foundation')
+assert(dep_main.type_name() == 'extraframeworks', 'type_name is ' + dep_main.type_name())
+
+dep_py = dependency('python', method : 'extraframework')
+assert(dep_main.type_name() == 'extraframeworks', 'type_name is ' + dep_main.type_name())
+
+stlib = static_library('stat', 'stat.c', install : true, dependencies: dep_libs)
+exe = executable('prog', 'prog.c', install : true, dependencies: dep_main)