Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>pull/100/head
parent
bfa68aaeaf
commit
e3b72045c4
5 changed files with 25 additions and 0 deletions
@ -0,0 +1,9 @@ |
||||
project('A', 'c') |
||||
|
||||
B = subproject('B') |
||||
b = B.get_variable('b') |
||||
|
||||
C = subproject('C') |
||||
c = B.get_variable('c') |
||||
|
||||
a = executable('a', 'a.c', link_with : [ b, c ]) |
@ -0,0 +1,5 @@ |
||||
char |
||||
func_b() |
||||
{ |
||||
return 'b'; |
||||
} |
@ -0,0 +1,4 @@ |
||||
project('B', 'c') |
||||
C = subproject('C') |
||||
c = C.get_variable('c') |
||||
b = shared_library('b', 'b.c', link_with : c) |
@ -0,0 +1,5 @@ |
||||
char |
||||
func_c() |
||||
{ |
||||
return 'c'; |
||||
} |
@ -0,0 +1,2 @@ |
||||
project('C', 'c') |
||||
c = shared_library('c', 'c.c') |
Loading…
Reference in new issue