Add broken test case from #1494.
Also, check a file with a subdirectory and extract_objects().pull/1943/head
parent
30bb55df3d
commit
48580ac8a3
9 changed files with 11 additions and 0 deletions
@ -0,0 +1 @@ |
|||||||
|
int main() { return 0; } |
@ -0,0 +1 @@ |
|||||||
|
sources += files('file.c') |
@ -0,0 +1 @@ |
|||||||
|
sources += files('file.c', 'dir1/file.c') |
@ -0,0 +1 @@ |
|||||||
|
lib = static_library('empty', 'file.c', 'dir1/file.c') |
@ -0,0 +1,7 @@ |
|||||||
|
project('proj', 'c') |
||||||
|
|
||||||
|
sources = [] |
||||||
|
subdir('dir1') |
||||||
|
subdir('dir2') |
||||||
|
subdir('dir3') |
||||||
|
executable('a.out', sources : sources, objects : lib.extract_objects()) |
Loading…
Reference in new issue