| 1 |
project('threads', 'c') |
| 2 |
|
| 3 |
thread_dep = dependency('threads') |
| 4 |
|
| 5 |
|
| 6 |
lib1 = static_library('lib1', 'lib1.c', |
| 7 |
dependencies : thread_dep) |
| 8 |
|
| 9 |
lib2 = static_library('lib2', 'lib2.c', |
| 10 |
link_with : lib1) |
| 11 |
|
| 12 |
executable('prog', 'prog.c', |
| 13 |
link_with : lib2) |