Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glib_dep = dependency('glib-2.0', version: '>=2.40')
- thread_dep = dependency('threads')
- cc = meson.get_compiler('c')
- m_dep = cc.find_library('m', required : true)
- src = ['test.c']
- src_utils = [...]
- inc_headers = include_directories('headers')
- lib_utils = static_library('utils', sources:src_utils, dependencies: [glib_dep, thread_dep, m_dep], include_directories: [inc_headers])
- executable('test', sources:[src], link_with: [lib_utils],
- dependencies: [glib_dep, thread_dep, m_dep], include_directories: [inc_headers])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement