meson.build 260 B

1234567891011
  1. project('external dependency with static', 'c')
  2. # Zlib is probably on all dev machines.
  3. dep = dependency('zlib')
  4. statlib = static_library('statlib', 'lib.c', dependencies : dep)
  5. exe = executable('prog', 'prog.c', link_with : statlib)
  6. test('zlibtest', exe)