summaryrefslogtreecommitdiff
path: root/salhelper/meson.build
blob: d639378ad8595b3bd9a25a8afcbe243fda163bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
salhelper_lib = shared_library('uno_salhelpergcc3',
  '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,
  ],
  soversion : '3',
  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])