parent
a16acceedd
commit
b4c972deb3
1 changed files with 3 additions and 5 deletions
@ -1,7 +1,5 @@ |
|||||||
project('shared library linking test', 'c') |
project('shared library linking test', 'c') |
||||||
lib = shared_library('mylib', 'libfile.c') |
lib = shared_library('mylib', 'libfile.c', install : true) |
||||||
exe = executable('prog', 'main.c') |
exe = executable('prog', 'main.c', link_with : lib, install : true) |
||||||
exe.link(lib) |
|
||||||
lib.install() |
|
||||||
exe.install() |
|
||||||
add_test('runtest', exe) |
add_test('runtest', exe) |
||||||
|
Loading…
Reference in new issue