Update git submodules
[LibreOffice.git] / sc / ucalc_setup.mk
blob63351a87aa2846f3b47382e3dd4bdeeac185ca9c
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
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/.
10 #*************************************************************************
12 # template for ucalc tests
13 define sc_ucalc_test
15 $(eval $(call gb_CppunitTest_CppunitTest,sc_ucalc$(1)))
17 $(eval $(call gb_Library_use_common_precompiled_header,sc_ucalc$(1)))
19 $(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc$(1), \
20 sc/qa/unit/ucalc$(1) \
23 $(eval $(call gb_CppunitTest_use_library_objects,sc_ucalc$(1), \
24 sc \
25 scqahelper \
28 $(eval $(call gb_CppunitTest_use_externals,sc_ucalc$(1),\
29 boost_headers \
30 $(call gb_Helper_optional,OPENCL, \
31 clew) \
32 icu_headers \
33 icui18n \
34 icuuc \
35 libxml2 \
36 mdds_headers \
37 orcus \
38 orcus-parser \
41 $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc$(1), \
42 $(call gb_Helper_optional,AVMEDIA,avmedia) \
43 basegfx \
44 comphelper \
45 cppu \
46 cppuhelper \
47 dbtools \
48 drawinglayer \
49 drawinglayercore \
50 docmodel \
51 editeng \
52 for \
53 forui \
54 i18nlangtag \
55 i18nutil \
56 $(call gb_Helper_optional,OPENCL, \
57 opencl) \
58 sal \
59 salhelper \
60 sax \
61 sb \
62 sfx \
63 sot \
64 subsequenttest \
65 svl \
66 svt \
67 svx \
68 svxcore \
69 test \
70 tk \
71 tl \
72 ucbhelper \
73 unotest \
74 utl \
75 $(call gb_Helper_optional,SCRIPTING, \
76 vbahelper) \
77 vcl \
78 xo \
81 $(eval $(call gb_CppunitTest_set_include,sc_ucalc$(1),\
82 -I$(SRCDIR)/sc/source/ui/inc \
83 -I$(SRCDIR)/sc/source/core/inc \
84 -I$(SRCDIR)/sc/inc \
85 $$(INCLUDE) \
88 $(eval $(call gb_CppunitTest_use_api,sc_ucalc$(1),\
89 udkapi \
90 offapi \
91 oovbaapi \
94 $(eval $(call gb_CppunitTest_use_custom_headers,sc_ucalc$(1),\
95 officecfg/registry \
98 $(eval $(call gb_CppunitTest_use_ure,sc_ucalc$(1)))
99 $(eval $(call gb_CppunitTest_use_vcl,sc_ucalc$(1)))
101 $(eval $(call gb_CppunitTest_use_components,sc_ucalc$(1),\
102 configmgr/source/configmgr \
103 framework/util/fwk \
104 i18npool/source/search/i18nsearch \
105 i18npool/util/i18npool \
106 sax/source/expatwrap/expwrap \
107 scaddins/source/analysis/analysis \
108 scaddins/source/datefunc/date \
109 scaddins/source/pricing/pricing \
110 sfx2/util/sfx \
111 ucb/source/core/ucb1 \
112 ucb/source/ucp/file/ucpfile1 \
113 unoxml/source/service/unoxml \
114 uui/util/uui \
115 vcl/vcl.common \
118 $(eval $(call gb_CppunitTest_add_libs,sc_ucalc$(1),\
119 $(if $(filter LINUX,$(OS)), \
120 -lrt \
124 $(eval $(call gb_CppunitTest_use_configuration,sc_ucalc$(1)))
126 endef
128 # vim: set noet sw=4 ts=4: