Debian Codegraph @

test cases/common/145 recursive linking/meson.build

raw
1 project('recursive dependencies', 'c')
2
3 # Test that you can link a shared executable to:
4 # - A shared library with no other deps
5 subdir('shnodep')
6 # - A static library with no other deps
7 subdir('stnodep')
8 # - A shared library with a shared library dep
9 subdir('shshdep')
10 # - A shared library with a static library dep
11 subdir('shstdep')
12 # - A static library with a shared library dep
13 subdir('stshdep')
14 # - A static library with a static library dep
15 subdir('ststdep')
16
17 test('alldeps',
18 executable('alldeps', 'main.c',
19 link_with : [shshdep, shstdep, ststdep, stshdep]))
20
21 # More combinations of static and shared libraries
22 subdir('3rdorderdeps')
23
24 # Circular dependencies between static libraries
25 # This requires the use of --start/end-group with GNU ld
26 subdir('circular')
27
28 # Various edge cases that have been reported
29 subdir('edge-cases')