Update git submodules
[LibreOffice.git] / sc / functions_setup.mk
blob1c82249ab5fd0c5e89b9bda5566e11e6135bbc14
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 \
26 $(eval $(call gb_CppunitTest_use_libraries,sc_$(1)_functions_test, \
27 basegfx \
28 comphelper \
29 cppu \
30 cppuhelper \
31 drawinglayer \
32 drawinglayercore \
33 editeng \
34 for \
35 forui \
36 i18nlangtag \
37 msfilter \
38 oox \
39 sal \
40 salhelper \
41 sax \
42 sc \
43 scqahelper \
44 sfx \
45 sot \
46 svl \
47 svt \
48 svx \
49 svxcore \
50 test \
51 tk \
52 tl \
53 ucbhelper \
54 unotest \
55 utl \
56 vcl \
57 xo \
60 $(eval $(call gb_CppunitTest_set_include,sc_$(1)_functions_test,\
61 -I$(SRCDIR)/sc/source/ui/inc \
62 -I$(SRCDIR)/sc/inc \
63 $$(INCLUDE) \
66 $(eval $(call gb_CppunitTest_use_api,sc_$(1)_functions_test,\
67 offapi \
68 udkapi \
69 oovbaapi \
72 $(eval $(call gb_CppunitTest_use_ure,sc_$(1)_functions_test))
74 $(eval $(call gb_CppunitTest_use_vcl,sc_$(1)_functions_test))
76 $(eval $(call gb_CppunitTest_use_rdb,sc_$(1)_functions_test,services))
78 $(eval $(call gb_CppunitTest_use_configuration,sc_$(1)_functions_test))
80 endef
82 # vim: set noet sw=4 ts=4: