blob: 033cb222a40749b967ba2a926db20254992298a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
project('boosttest', 'cpp')
# 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.
nolinkdep = dependency('boost', modules: 'utility')
linkdep = dependency('boost', modules : 'thread')
nolinkexe = executable('nolinkedexe', 'nolinkexe.cc', deps : nolinkdep)
linkexe = executable('linkedexe', 'linkexe.cc', deps : linkdep)
test('Boost nolinktext', nolinkexe)
test('Boost linktext', linkexe)
|