Part of the changes to make input and output filenames in targets be deterministic.pull/952/head
parent
706425abd1
commit
f3bb6bb227
5 changed files with 21 additions and 1 deletions
@ -0,0 +1,3 @@ |
||||
int func2() { |
||||
return 2; |
||||
} |
@ -0,0 +1,3 @@ |
||||
int func3() { |
||||
return 3; |
||||
} |
@ -0,0 +1,3 @@ |
||||
int func4() { |
||||
return 4; |
||||
} |
@ -1,6 +1,6 @@ |
||||
project('static library linking test', 'c') |
||||
|
||||
lib = build_target('mylib', 'libfile.c', target_type : 'static_library') |
||||
lib = build_target('mylib', 'libfile.c', 'libfile2.c', 'libfile3.c', 'libfile4.c', target_type : 'static_library') |
||||
exe = executable('prog', 'main.c', link_with : lib) |
||||
|
||||
test('runtest', exe) |
||||
|
Loading…
Reference in new issue