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

15 lines
514 B
Meson
Raw Normal View History

2013-03-24 19:21:35 +08:00
project('boosttest', 'cxx')
# We want to have multiple separate configurations of Boost
# within one project. The need to be independent of each other.
# Use one without a library dependency and one with it.
2013-03-24 19:21:35 +08:00
nolinkdep = find_dep('boost', modules: 'utility')
linkdep = find_dep('boost', modules : 'thread')
2013-03-24 19:21:35 +08:00
nolinkexe = executable('nolinkedexe', 'nolinkexe.cc', deps : nolinkdep)
linkexe = executable('linkedexe', 'linkexe.cc', deps : linkdep)
2013-03-24 19:21:35 +08:00
2013-06-02 18:18:15 +08:00
test('Boost nolinktext', nolinkexe)
test('Boost linktext', linkexe)