blob: 8c4b45dd6c0a9361b6280a33111fb5fa9542aea5 [file] [log] [blame]
Xisco Fauli93987192024-06-28 15:17:56 +02001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
Michael Meeksd037b812026-03-26 15:06:16 +00003# This file is part of the Collabora Office project.
Xisco Fauli93987192024-06-28 15:17:56 +02004#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#
9
10$(eval $(call gb_CppunitTest_CppunitTest,sw_autocorrect))
11
12$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_autocorrect))
13
14$(eval $(call gb_CppunitTest_add_exception_objects,sw_autocorrect, \
15 sw/qa/extras/autocorrect/autocorrect \
16))
17
18$(eval $(call gb_CppunitTest_use_libraries,sw_autocorrect, \
19 comphelper \
20 cppu \
21 cppuhelper \
22 editeng \
23 sal \
24 sfx \
25 subsequenttest \
26 svl \
27 svx \
28 svxcore \
29 sw \
30 swqahelper \
31 test \
32 unotest \
33 utl \
34 vcl \
35 tl \
36))
37
38$(eval $(call gb_CppunitTest_use_externals,sw_autocorrect,\
39 boost_headers \
40 libxml2 \
41))
42
43$(eval $(call gb_CppunitTest_set_include,sw_autocorrect,\
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_autocorrect,\
52 udkapi \
53 offapi \
54 oovbaapi \
55))
56
57$(eval $(call gb_CppunitTest_use_ure,sw_autocorrect))
58$(eval $(call gb_CppunitTest_use_vcl,sw_autocorrect))
59
60$(eval $(call gb_CppunitTest_use_rdb,sw_autocorrect,services))
61
62$(eval $(call gb_CppunitTest_use_custom_headers,sw_autocorrect,\
63 officecfg/registry \
64))
65
66$(eval $(call gb_CppunitTest_use_configuration,sw_autocorrect))
67
68$(eval $(call gb_CppunitTest_use_uiconfigs,sw_autocorrect, \
69 modules/swriter \
70))
71
72$(eval $(call gb_CppunitTest_use_more_fonts,sw_autocorrect))
73
74ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
75$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_autocorrect,abort))
76endif
77
78# vim: set noet sw=4 ts=4: