diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:41:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:41:38 +0000 |
commit | 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 (patch) | |
tree | 4a2738d69fa2814659fdadddf5826282e73d81f4 /test cases/osx/5 extra frameworks | |
parent | Initial commit. (diff) | |
download | meson-7b6e527f440cd7e6f8be2b07cee320ee6ca18786.tar.xz meson-7b6e527f440cd7e6f8be2b07cee320ee6ca18786.zip |
Adding upstream version 1.0.1.upstream/1.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test cases/osx/5 extra frameworks')
-rw-r--r-- | test cases/osx/5 extra frameworks/meson.build | 10 | ||||
-rw-r--r-- | test cases/osx/5 extra frameworks/prog.c | 3 | ||||
-rw-r--r-- | test cases/osx/5 extra frameworks/stat.c | 1 | ||||
-rw-r--r-- | test cases/osx/5 extra frameworks/test.json | 6 |
4 files changed, 20 insertions, 0 deletions
diff --git a/test cases/osx/5 extra frameworks/meson.build b/test cases/osx/5 extra frameworks/meson.build new file mode 100644 index 0000000..0bd2c17 --- /dev/null +++ b/test cases/osx/5 extra frameworks/meson.build @@ -0,0 +1,10 @@ +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()) + +stlib = static_library('stat', 'stat.c', install : true, dependencies: dep_libs) +exe = executable('prog', 'prog.c', install : true, dependencies: dep_main) diff --git a/test cases/osx/5 extra frameworks/prog.c b/test cases/osx/5 extra frameworks/prog.c new file mode 100644 index 0000000..9b6bdc2 --- /dev/null +++ b/test cases/osx/5 extra frameworks/prog.c @@ -0,0 +1,3 @@ +int main(void) { + return 0; +} diff --git a/test cases/osx/5 extra frameworks/stat.c b/test cases/osx/5 extra frameworks/stat.c new file mode 100644 index 0000000..4825cef --- /dev/null +++ b/test cases/osx/5 extra frameworks/stat.c @@ -0,0 +1 @@ +int func(void) { return 933; } diff --git a/test cases/osx/5 extra frameworks/test.json b/test cases/osx/5 extra frameworks/test.json new file mode 100644 index 0000000..8def69a --- /dev/null +++ b/test cases/osx/5 extra frameworks/test.json @@ -0,0 +1,6 @@ +{ + "installed": [ + {"type": "file", "file": "usr/bin/prog"}, + {"type": "file", "file": "usr/lib/libstat.a"} + ] +} |