blob: e534ef1bec7bf7e8c852bc6e4a628a15a10af966 [file] [log] [blame]
Miklos Vajna8ad0c292020-04-22 16:25:51 +02001# -*- 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 Vajna8ad0c292020-04-22 16:25:51 +02005#
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_dochdl))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_uibase_dochdl))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_uibase_dochdl, \
17 sw/qa/uibase/dochdl/dochdl \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,sw_uibase_dochdl, \
21 comphelper \
22 cppu \
23 cppuhelper \
24 editeng \
25 sal \
26 sfx \
Xisco Fauli4170b942022-11-08 18:27:05 +010027 subsequenttest \
Miklos Vajna8ad0c292020-04-22 16:25:51 +020028 svl \
Michael Meeks489997f82026-03-09 21:56:51 +000029 svt \
Miklos Vajna8ad0c292020-04-22 16:25:51 +020030 svx \
31 svxcore \
32 sw \
Miklos Vajna6353c512020-07-30 21:18:46 +020033 swqahelper \
Miklos Vajna8ad0c292020-04-22 16:25:51 +020034 test \
35 unotest \
36 utl \
37 vcl \
Miklos Vajnaf7408cf2022-09-15 08:36:27 +020038 tl \
Miklos Vajna8ad0c292020-04-22 16:25:51 +020039))
40
41$(eval $(call gb_CppunitTest_use_externals,sw_uibase_dochdl,\
42 boost_headers \
43 libxml2 \
44))
45
46$(eval $(call gb_CppunitTest_set_include,sw_uibase_dochdl,\
47 -I$(SRCDIR)/sw/inc \
48 -I$(SRCDIR)/sw/source/core/inc \
49 -I$(SRCDIR)/sw/source/uibase/inc \
50 -I$(SRCDIR)/sw/qa/inc \
51 $$(INCLUDE) \
52))
53
54$(eval $(call gb_CppunitTest_use_api,sw_uibase_dochdl,\
55 udkapi \
56 offapi \
57 oovbaapi \
58))
59
60$(eval $(call gb_CppunitTest_use_ure,sw_uibase_dochdl))
61$(eval $(call gb_CppunitTest_use_vcl,sw_uibase_dochdl))
62
63$(eval $(call gb_CppunitTest_use_rdb,sw_uibase_dochdl,services))
64
65$(eval $(call gb_CppunitTest_use_custom_headers,sw_uibase_dochdl,\
66 officecfg/registry \
67))
68
69$(eval $(call gb_CppunitTest_use_configuration,sw_uibase_dochdl))
70
71$(eval $(call gb_CppunitTest_use_uiconfigs,sw_uibase_dochdl, \
72 modules/swriter \
73))
74
75$(eval $(call gb_CppunitTest_use_more_fonts,sw_uibase_dochdl))
76
Miklos Vajna2221ca742024-03-07 08:16:39 +010077ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
78$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_uibase_dochdl,abort))
79endif
80
Miklos Vajna8ad0c292020-04-22 16:25:51 +020081# vim: set noet sw=4 ts=4: