summaryrefslogtreecommitdiff
path: root/salhelper/meson.build
blob: 8e9e4b007e798dd16122548c8ea2be97f775ea75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
salhelper_lib = shared_library('salhelperlo',
  'source/condition.cxx',
  'source/dynload.cxx',
  'source/simplereferenceobject.cxx',
  'source/thread.cxx',
  'source/timer.cxx',
  include_directories: [main_inc],
  cpp_args: ['-DLIBO_INTERNAL_ONLY',
             '-DSALHELPER_DLLIMPLEMENTATION'],
  link_with: sal_lib,
  gnu_symbol_visibility: 'hidden',
  install: true,
)

sh_test = shared_library('test_salhelper',
  'qa/test_api.cxx',
  include_directories: [main_inc],
  link_with: [salhelper_lib, sal_lib],
  dependencies: [cppunit_dep],
)

test('salhelper', unittester,
    args: [sh_test])