meson/test cases/frameworks/1 boost/meson.build

15 lines
496 B
Meson
Raw Normal View History

2013-03-24 19:21:35 +08:00
project('boosttest', 'cxx')
# One test case for a Boost module that is
# header only and one test case for a module that
# requires linking with a shared library.
nolinkdep = find_dep('boost', modules : 'utility', required : true)
linkdep = find_dep('boost', modules : 'thread', required : true)
nolinkexe = executable('nolinkexe', 'nolinkexe.cc', dep : nolinkdep)
linkexe = executable('linkedexe', 'linkexe.cc', dep : linkdep)
add_test('nolinktest', nolinkexe)
add_test('linktext', linkexe)