tdf#154546 skip dispatch when presenter controller is not set
[LibreOffice.git] / sc / ucalc_setup.mk
blob9a232357261170bfad9bf54352066bf2d7109c1f
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 editeng \
51 for \
52 forui \
53 i18nlangtag \
54 i18nutil \
55 $(call gb_Helper_optional,OPENCL, \
56 opencl) \
57 sal \
58 salhelper \
59 sax \
60 sb \
61 sfx \
62 sot \
63 subsequenttest \
64 svl \
65 svt \
66 svx \
67 svxcore \
68 test \
69 tk \
70 tl \
71 ucbhelper \
72 unotest \
73 utl \
74 $(call gb_Helper_optional,SCRIPTING, \
75 vbahelper) \
76 vcl \
77 xo \
80 $(eval $(call gb_CppunitTest_set_include,sc_ucalc$(1),\
81 -I$(SRCDIR)/sc/source/ui/inc \
82 -I$(SRCDIR)/sc/source/core/inc \
83 -I$(SRCDIR)/sc/inc \
84 $$(INCLUDE) \
87 $(eval $(call gb_CppunitTest_use_api,sc_ucalc$(1),\
88 udkapi \
89 offapi \
90 oovbaapi \
93 $(eval $(call gb_CppunitTest_use_custom_headers,sc_ucalc$(1),\
94 officecfg/registry \
97 $(eval $(call gb_CppunitTest_use_ure,sc_ucalc$(1)))
98 $(eval $(call gb_CppunitTest_use_vcl,sc_ucalc$(1)))
100 $(eval $(call gb_CppunitTest_use_components,sc_ucalc$(1),\
101 configmgr/source/configmgr \
102 framework/util/fwk \
103 i18npool/source/search/i18nsearch \
104 i18npool/util/i18npool \
105 sax/source/expatwrap/expwrap \
106 scaddins/source/analysis/analysis \
107 scaddins/source/datefunc/date \
108 scaddins/source/pricing/pricing \
109 sfx2/util/sfx \
110 ucb/source/core/ucb1 \
111 ucb/source/ucp/file/ucpfile1 \
112 unoxml/source/service/unoxml \
113 uui/util/uui \
114 vcl/vcl.common \
117 $(eval $(call gb_CppunitTest_add_libs,sc_ucalc$(1),\
118 $(if $(filter LINUX,$(OS)), \
119 -lrt \
123 $(eval $(call gb_CppunitTest_use_configuration,sc_ucalc$(1)))
125 endef
127 # vim: set noet sw=4 ts=4: