The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
496 B

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)