tdf#42893: sw_autocorrect: Add unittest
[LibreOffice.git] / sc / subsequent_setup.mk
blob4cf9b34f984e1f4646106049fd6365639522aab2
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
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/.
10 # template for subsequent tests
11 define sc_subsequent_test
13 $(eval $(call gb_CppunitTest_CppunitTest,sc_subsequent_$(1)))
15 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_subsequent_$(1)))
17 $(eval $(call gb_CppunitTest_add_exception_objects,sc_subsequent_$(1), \
18 sc/qa/unit/subsequent_$(1) \
21 $(eval $(call gb_CppunitTest_use_externals,sc_subsequent_$(1), \
22 boost_headers \
23 mdds_headers \
24 libxml2 \
27 $(eval $(call gb_CppunitTest_use_libraries,sc_subsequent_$(1), \
28 basegfx \
29 comphelper \
30 cppu \
31 cppuhelper \
32 drawinglayer \
33 docmodel \
34 editeng \
35 for \
36 forui \
37 i18nlangtag \
38 msfilter \
39 oox \
40 sal \
41 salhelper \
42 sax \
43 sc \
44 scqahelper \
45 sfx \
46 sot \
47 subsequenttest \
48 svl \
49 svt \
50 svx \
51 svxcore \
52 test \
53 tk \
54 tl \
55 ucbhelper \
56 unotest \
57 utl \
58 vcl \
59 xo \
62 $(eval $(call gb_CppunitTest_set_include,sc_subsequent_$(1),\
63 -I$(SRCDIR)/sc/source/ui/inc \
64 -I$(SRCDIR)/sc/inc \
65 $$(INCLUDE) \
68 $(eval $(call gb_CppunitTest_use_api,sc_subsequent_$(1),\
69 udkapi \
70 offapi \
71 oovbaapi \
74 $(eval $(call gb_CppunitTest_use_ure,sc_subsequent_$(1)))
75 $(eval $(call gb_CppunitTest_use_vcl,sc_subsequent_$(1)))
77 $(eval $(call gb_CppunitTest_use_rdb,sc_subsequent_$(1),services))
79 $(eval $(call gb_CppunitTest_use_custom_headers,sc_subsequent_$(1),\
80 officecfg/registry \
83 $(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_$(1)))
85 $(eval $(call gb_CppunitTest_use_packages,sc_subsequent_$(1), \
86 oox_generated \
89 $(eval $(call gb_CppunitTest_use_more_fonts,sc_subsequent_$(1)))
91 $(eval $(call gb_CppunitTest_add_arguments,sc_subsequent_$(1), \
92 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
95 endef
97 # vim: set noet sw=4 ts=4: