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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
subdir('unotypes')
temp_hack = static_library('cppuuno',
'source/exc_thrower.cxx',
udk_fake_h, off_fake_h, cppuhelper_fake_h,
include_directories: [main_inc, udkh_inc, offapi_inc, cpphelper_uno_inc],
)
cppuhelper_lib = shared_library('cppuhelperlo',
'source/access_control.cxx',
'source/bootstrap.cxx',
'source/compat.cxx',
'source/component_context.cxx',
'source/component.cxx',
'source/defaultbootstrap.cxx',
'source/factory.cxx',
'source/implbase.cxx',
'source/implbase_ex.cxx',
'source/implementationentry.cxx',
'source/interfacecontainer.cxx',
'source/macro_expander.cxx',
'source/paths.cxx',
'source/propertysetmixin.cxx',
'source/propshlp.cxx',
'source/servicemanager.cxx',
'source/shlib.cxx',
'source/supportsservice.cxx',
'source/tdmgr.cxx',
'source/typemanager.cxx',
'source/typeprovider.cxx',
'source/unourl.cxx',
'source/weak.cxx',
'source/findsofficepath.c',
udk_fake_h, off_fake_h, cppuhelper_fake_h,
include_directories: [main_inc, udkh_inc, offapi_inc, cpphelper_uno_inc],
cpp_args: ['-DCPPUHELPER_DLLIMPLEMENTATION', '-DLIBO_INTERNAL_ONLY'],
link_with: [temp_hack, cppu_lib, reg_lib, salhelper_lib, sal_lib, unoidl_lib, xmlreader_lib],
gnu_symbol_visibility: 'hidden',
install: true,
)
test('ifcontainer', unittester,
args: [shared_library('test_ifcontainer',
'qa/ifcontainer/cppu_ifcontainer.cxx',
udk_fake_h,
include_directories: [main_inc, udkh_inc],
cpp_args: ['-DLIBO_INTERNAL_ONLY'],
link_with: [cppu_lib, cppuhelper_lib, sal_lib],
dependencies: [cppunit_dep],
)
]
)
test('unourl', unittester,
args: [shared_library('test_unourl',
'qa/unourl/cppu_unourl.cxx',
udk_fake_h,
include_directories: [main_inc, udkh_inc],
cpp_args: ['-DLIBO_INTERNAL_ONLY'],
link_with: [cppu_lib, cppuhelper_lib, sal_lib],
dependencies: [cppunit_dep],
)
]
)
test('cppumisc', unittester,
args: [shared_library('test_misc',
'qa/misc/test_misc.cxx',
udk_fake_h,
include_directories: [main_inc, udkh_inc],
cpp_args: ['-DLIBO_INTERNAL_ONLY'],
link_with: [cppu_lib, cppuhelper_lib, sal_lib],
dependencies: [cppunit_dep],
)
]
)
test('cppuweak', unittester,
args: [shared_library('test_cppuweak',
'qa/weak/test_weak.cxx',
udk_fake_h,
include_directories: [main_inc, udkh_inc],
cpp_args: ['-DLIBO_INTERNAL_ONLY'],
link_with: [cppu_lib, cppuhelper_lib, sal_lib],
dependencies: [cppunit_dep],
)
]
)
|