parent
ccdf7f6d34
commit
faf16545fa
12 changed files with 30 additions and 8 deletions
@ -1,2 +1,6 @@ |
|||||||
executable('grabprog3', files('subprojects/prog.c')) |
executable('grabprog3', files('subprojects/prog.c')) |
||||||
executable('grabprog4', files('subprojects/foo/prog2.c')) |
executable('grabprog4', files('subprojects/foo/prog2.c')) |
||||||
|
|
||||||
|
texe = executable('testexe', files('test.c'), link_with: [libfoo, libbar]) |
||||||
|
|
||||||
|
test('t1', texe) |
||||||
|
@ -0,0 +1,9 @@ |
|||||||
|
#include <stdio.h> |
||||||
|
|
||||||
|
int bar_dummy_func(void); |
||||||
|
int dummy_func(void); |
||||||
|
|
||||||
|
int main(void) { |
||||||
|
printf("Hello world %d\n", bar_dummy_func() + dummy_func()); |
||||||
|
return 0; |
||||||
|
} |
@ -0,0 +1,2 @@ |
|||||||
|
/foo-1.0 |
||||||
|
/bar-1.0 |
@ -0,0 +1,8 @@ |
|||||||
|
[wrap-file] |
||||||
|
directory = bar-1.0 |
||||||
|
lead_directory_missing = true |
||||||
|
|
||||||
|
source_filename = bar-1.0.tar.xz |
||||||
|
source_hash = f0f61948530dc0d33e3028cd71a9f8ee869f6b3665960d8f41d715cf4aed6467 |
||||||
|
|
||||||
|
patch_filename = bar-1.0-patch.tar.xz |
@ -1,3 +0,0 @@ |
|||||||
int dummy_func(void) { |
|
||||||
return 42; |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
project('shared lib', 'c') |
|
||||||
libfoo = shared_library('foo', 'foo.c') |
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue