add static Boost dependency test

pull/1854/head
Adam C. Foltzer 8 years ago
parent b290688ede
commit aff955f99f
  1. 7
      test cases/frameworks/1 boost/meson.build

@ -7,15 +7,18 @@ project('boosttest', 'cpp',
nolinkdep = dependency('boost', modules: 'utility') nolinkdep = dependency('boost', modules: 'utility')
linkdep = dependency('boost', modules : ['thread', 'system']) linkdep = dependency('boost', modules : ['thread', 'system'])
staticdep = dependency('boost', modules : ['thread', 'system'], static : true)
testdep = dependency('boost', modules : 'test') testdep = dependency('boost', modules : 'test')
nomoddep = dependency('boost') nomoddep = dependency('boost')
nolinkexe = executable('nolinkedexe', 'nolinkexe.cc', dependencies : nolinkdep) nolinkexe = executable('nolinkedexe', 'nolinkexe.cc', dependencies : nolinkdep)
linkexe = executable('linkedexe', 'linkexe.cc', dependencies : linkdep) linkexe = executable('linkedexe', 'linkexe.cc', dependencies : linkdep)
staticexe = executable('linkedexe', 'linkexe.cc', dependencies : staticdep)
unitexe = executable('utf', 'unit_test.cpp', dependencies: testdep) unitexe = executable('utf', 'unit_test.cpp', dependencies: testdep)
nomodexe = executable('nomod', 'nomod.cpp', dependencies : nomoddep) nomodexe = executable('nomod', 'nomod.cpp', dependencies : nomoddep)
test('Boost nolinktext', nolinkexe) test('Boost nolinktest', nolinkexe)
test('Boost linktext', linkexe) test('Boost linktest', linkexe)
test('Boost statictest', staticexe)
test('Boost UTF test', unitexe) test('Boost UTF test', unitexe)
test('Boost nomod', nomodexe) test('Boost nomod', nomodexe)

Loading…
Cancel
Save