blob: 7cb4f603222b517ce1deced7c68b6bcc6cfc482f [file] [log] [blame]
Tomofumi Yagief77a252020-09-16 18:11:22 +09001# -*- 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.
Tomofumi Yagief77a252020-09-16 18:11:22 +09005#
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_txtimport))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_txtimport))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_txtimport, \
17 sw/qa/extras/txtimport/txtimport \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,sw_txtimport, \
21 comphelper \
22 cppu \
23 cppuhelper \
24 i18nlangtag \
25 sal \
26 sfx \
Xisco Fauli4170b942022-11-08 18:27:05 +010027 subsequenttest \
Tomofumi Yagief77a252020-09-16 18:11:22 +090028 sw \
29 swqahelper \
30 test \
31 tl \
32 unotest \
33 utl \
34 vcl \
35 $(gb_UWINAPI) \
36))
37
38$(eval $(call gb_CppunitTest_use_externals,sw_txtimport,\
39 boost_headers \
40 libxml2 \
41))
42
43$(eval $(call gb_CppunitTest_set_include,sw_txtimport,\
44 -I$(SRCDIR)/sw/inc \
45 -I$(SRCDIR)/sw/source/core/inc \
46 -I$(SRCDIR)/sw/source/uibase/inc \
47 -I$(SRCDIR)/sw/qa/inc \
48 $$(INCLUDE) \
49))
50
51$(eval $(call gb_CppunitTest_use_api,sw_txtimport,\
52 udkapi \
53 offapi \
54 oovbaapi \
55))
56
57$(eval $(call gb_CppunitTest_use_ure,sw_txtimport))
58$(eval $(call gb_CppunitTest_use_vcl,sw_txtimport))
59
60$(eval $(call gb_CppunitTest_use_rdb,sw_txtimport,services))
61
62$(eval $(call gb_CppunitTest_use_configuration,sw_txtimport))
63
Miklos Vajnade4e5ab2023-11-24 16:39:35 +010064ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
Jonathan Clark95dd7952024-06-12 11:08:29 -060065# Note: This test intentionally sets non-application font use to 'deny',
66# rather than 'abort'. This temporarily works around an issue causing
67# these tests to fail on fontconfig systems with CJK fonts installed.
68#
69# See tdf#161533
70$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_txtimport,deny))
Miklos Vajnade4e5ab2023-11-24 16:39:35 +010071endif
Miklos Vajna85852ad2023-11-22 20:07:25 +010072
Tomofumi Yagief77a252020-09-16 18:11:22 +090073# vim: set noet sw=4 ts=4: