blob: ff9de281a479e882fa47d3387c39dfc97ea43fd5 [file] [log] [blame]
Miklos Vajna8a7d0e82022-03-24 08:44:52 +01001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#*************************************************************************
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Miklos Vajna8a7d0e82022-03-24 08:44:52 +01005#
6# This Source Code Form is subject to the terms of the Mozilla Public
7# License, v. 2.0. If a copy of the MPL was not distributed with this
8# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9#
10#*************************************************************************
11
12$(eval $(call gb_CppunitTest_CppunitTest,sw_uibase_wrtsh))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_uibase_wrtsh))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_uibase_wrtsh, \
17 sw/qa/uibase/wrtsh/wrtsh \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,sw_uibase_wrtsh, \
21 comphelper \
22 cppu \
23 cppuhelper \
24 editeng \
25 sal \
26 sfx \
Xisco Fauli4170b942022-11-08 18:27:05 +010027 subsequenttest \
Miklos Vajna8a7d0e82022-03-24 08:44:52 +010028 svl \
29 svx \
30 svxcore \
31 sw \
32 swqahelper \
33 test \
34 unotest \
35 utl \
36 vcl \
37 tl \
38))
39
40$(eval $(call gb_CppunitTest_use_externals,sw_uibase_wrtsh,\
41 boost_headers \
42 libxml2 \
43))
44
45$(eval $(call gb_CppunitTest_set_include,sw_uibase_wrtsh,\
46 -I$(SRCDIR)/sw/inc \
47 -I$(SRCDIR)/sw/source/core/inc \
48 -I$(SRCDIR)/sw/source/uibase/inc \
49 -I$(SRCDIR)/sw/qa/inc \
50 $$(INCLUDE) \
51))
52
53$(eval $(call gb_CppunitTest_use_api,sw_uibase_wrtsh,\
54 udkapi \
55 offapi \
56 oovbaapi \
57))
58
59$(eval $(call gb_CppunitTest_use_ure,sw_uibase_wrtsh))
60$(eval $(call gb_CppunitTest_use_vcl,sw_uibase_wrtsh))
61
62$(eval $(call gb_CppunitTest_use_rdb,sw_uibase_wrtsh,services))
63
64$(eval $(call gb_CppunitTest_use_custom_headers,sw_uibase_wrtsh,\
65 officecfg/registry \
66))
67
68$(eval $(call gb_CppunitTest_use_configuration,sw_uibase_wrtsh))
69
70$(eval $(call gb_CppunitTest_use_uiconfigs,sw_uibase_wrtsh, \
71 modules/swriter \
72))
73
74$(eval $(call gb_CppunitTest_use_more_fonts,sw_uibase_wrtsh))
75
Miklos Vajna1bef59c2024-01-11 08:19:36 +010076ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
77$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_uibase_wrtsh,abort))
78endif
79
Miklos Vajna8a7d0e82022-03-24 08:44:52 +010080# vim: set noet sw=4 ts=4: