diff options
Diffstat (limited to 'meson/test cases/objc/4 c++ project objc subproject/subprojects')
-rw-r--r-- | meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/foo.m | 4 | ||||
-rw-r--r-- | meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/meson.build | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/foo.m b/meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/foo.m new file mode 100644 index 000000000..e193b8681 --- /dev/null +++ b/meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/foo.m @@ -0,0 +1,4 @@ + +int foo() { + return 42; +} diff --git a/meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/meson.build b/meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/meson.build new file mode 100644 index 000000000..2dbf8ab26 --- /dev/null +++ b/meson/test cases/objc/4 c++ project objc subproject/subprojects/foo/meson.build @@ -0,0 +1,5 @@ +project('foo', ['objc']) + +l = static_library('foo', 'foo.m') + +foo_dep = declare_dependency(link_with : l) |