Version 7.5.1.1, tag libreoffice-7.5.1.1
[LibreOffice.git] / sc / functions_setup.mk
blob0acff70355f791f2b3029a6bbe3f9bc239d9f5b4
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 functions tests
11 define sc_functions_test
13 $(eval $(call gb_CppunitTest_CppunitTest,sc_$(1)_functions_test))
15 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_$(1)_functions_test))
17 $(eval $(call gb_CppunitTest_add_exception_objects,sc_$(1)_functions_test, \
18 sc/qa/unit/functions_$(1) \
21 $(eval $(call gb_CppunitTest_use_externals,sc_$(1)_functions_test, \
22 boost_headers \
23 mdds_headers \
24 libxml2 \
27 $(eval $(call gb_CppunitTest_use_libraries,sc_$(1)_functions_test, \
28 basegfx \
29 comphelper \
30 cppu \
31 cppuhelper \
32 drawinglayer \
33 drawinglayercore \
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 svl \
48 svt \
49 svx \
50 svxcore \
51 test \
52 tk \
53 tl \
54 ucbhelper \
55 unotest \
56 utl \
57 vcl \
58 xo \
61 $(eval $(call gb_CppunitTest_set_include,sc_$(1)_functions_test,\
62 -I$(SRCDIR)/sc/source/ui/inc \
63 -I$(SRCDIR)/sc/inc \
64 $$(INCLUDE) \
67 $(eval $(call gb_CppunitTest_use_api,sc_$(1)_functions_test,\
68 offapi \
69 udkapi \
70 oovbaapi \
73 $(eval $(call gb_CppunitTest_use_ure,sc_$(1)_functions_test))
75 $(eval $(call gb_CppunitTest_use_vcl,sc_$(1)_functions_test))
77 $(eval $(call gb_CppunitTest_use_rdb,sc_$(1)_functions_test,services))
79 $(eval $(call gb_CppunitTest_use_configuration,sc_$(1)_functions_test))
81 endef
83 # vim: set noet sw=4 ts=4: