clang does not support -flto=<number>
[LibreOffice.git] / sc / Module_sc.mk
blob17698421accbd18bbc556e51add4a75e42bfcdf0
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
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/.
11 include $(SRCDIR)/sc/common_unoapi_tests.mk
12 include $(SRCDIR)/sc/ucalc_setup.mk
13 include $(SRCDIR)/sc/subsequent_setup.mk
15 $(eval $(call gb_Module_Module,sc))
17 $(eval $(call gb_Module_add_targets,sc,\
18 Library_sc \
19 Library_scd \
20 Library_scfilt \
21 Library_scui \
22 $(call gb_Helper_optional,OPENCL,Package_opencl) \
23 Package_res_xml \
24 UIConfig_scalc \
27 $(eval $(call gb_Module_add_l10n_targets,sc,\
28 AllLangMoTarget_sc \
31 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
33 $(eval $(call gb_Module_add_targets,sc,\
34 Library_vbaobj \
37 endif
39 ifneq ($(OS),iOS)
40 $(eval $(call gb_Module_add_check_targets,sc,\
41 Library_scqahelper \
42 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
43 CppunitTest_sc_ucalc) \
44 CppunitTest_sc_ucalc_condformat \
45 CppunitTest_sc_ucalc_copypaste \
46 CppunitTest_sc_ucalc_formula \
47 CppunitTest_sc_ucalc_pivottable \
48 CppunitTest_sc_ucalc_sharedformula \
49 CppunitTest_sc_ucalc_sort \
50 CppunitTest_sc_bugfix_test \
51 CppunitTest_sc_filters_test \
52 CppunitTest_sc_rangelst_test \
53 CppunitTest_sc_range_test \
54 CppunitTest_sc_mark_test \
55 CppunitTest_sc_core \
56 CppunitTest_sc_dataprovider \
57 CppunitTest_sc_datatransformation \
58 CppunitTest_sc_cache_test \
59 CppunitTest_sc_shapetest \
62 ifneq ($(DISABLE_GUI),TRUE)
63 ifeq ($(OS),LINUX)
64 $(eval $(call gb_Module_add_check_targets,sc,\
65 CppunitTest_sc_tiledrendering \
67 endif
68 endif
70 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
71 CppunitTest_sc_cond_format_merge \
72 CppunitTest_sc_copypaste \
73 CppunitTest_sc_html_export_test \
74 CppunitTest_sc_jumbosheets_test \
75 CppunitTest_sc_macros_test \
76 CppunitTest_sc_new_cond_format_api \
77 CppunitTest_sc_pdf_export \
78 CppunitTest_sc_pivottable_filters_test \
79 CppunitTest_sc_subsequent_filters_test \
80 CppunitTest_sc_subsequent_filters_test2 \
81 CppunitTest_sc_subsequent_export_test \
82 CppunitTest_sc_subsequent_export_test2 \
83 CppunitTest_sc_uicalc \
86 # Various function tests fail in 32-bit linux_x86 build due to dreaded floating
87 # point weirdness (x87, registers, compiler optimization, ... whatever),
88 # disable them until someone finds a real cure.
90 ifneq ($(filter-out linux_aarch64 linux_x86,$(PLATFORMID)),)
91 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
92 CppunitTest_sc_functions_test_old \
93 CppunitTest_sc_database_functions_test \
94 CppunitTest_sc_array_functions_test \
95 CppunitTest_sc_addin_functions_test \
96 CppunitTest_sc_datetime_functions_test \
97 CppunitTest_sc_financial_functions_test \
98 CppunitTest_sc_information_functions_test \
99 CppunitTest_sc_logical_functions_test \
100 CppunitTest_sc_mathematical_functions_test \
101 CppunitTest_sc_spreadsheet_functions_test \
102 CppunitTest_sc_statistical_functions_test \
103 CppunitTest_sc_text_functions_test \
105 endif
107 # Disabled to allow the check tinderbox execute the sd tests
108 # CppunitTest_sc_chart_regression_test \
110 $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
111 JunitTest_sc_complex \
112 JunitTest_sc_unoapi_1 \
113 JunitTest_sc_unoapi_2 \
114 JunitTest_sc_unoapi_3 \
115 JunitTest_sc_unoapi_4 \
116 JunitTest_sc_unoapi_6 \
117 JunitTest_sc_unoapi_7 \
118 CppunitTest_sc_anchor_test \
119 CppunitTest_sc_annotationobj \
120 CppunitTest_sc_annotationshapeobj \
121 CppunitTest_sc_annotationsobj \
122 CppunitTest_sc_arealinkobj \
123 CppunitTest_sc_arealinksobj \
124 CppunitTest_sc_autoformatobj \
125 CppunitTest_sc_autoformatsobj \
126 CppunitTest_sc_cellcursorobj \
127 CppunitTest_sc_cellfieldsobj \
128 CppunitTest_sc_cellformatsenumeration \
129 CppunitTest_sc_cellformatsobj \
130 CppunitTest_sc_cellobj \
131 CppunitTest_sc_cellrangeobj \
132 CppunitTest_sc_cellrangesobj \
133 CppunitTest_sc_cellsearchobj \
134 CppunitTest_sc_cellsenumeration \
135 CppunitTest_sc_cellsobj \
136 CppunitTest_sc_chart2dataprovider \
137 CppunitTest_sc_chartobj \
138 CppunitTest_sc_chartsobj \
139 CppunitTest_sc_check_data_pilot_field \
140 CppunitTest_sc_check_data_pilot_table \
141 CppunitTest_sc_check_xcell_ranges_query \
142 CppunitTest_sc_consolidationdescriptorobj \
143 $(if $(filter-out $(OS),iOS), \
144 CppunitTest_sc_databaserangeobj) \
145 CppunitTest_sc_databaserangesobj \
146 CppunitTest_sc_datapilotfieldgroupitemobj \
147 CppunitTest_sc_datapilotfieldgroupobj \
148 CppunitTest_sc_datapilotfieldgroupsobj \
149 CppunitTest_sc_datapilotfieldobj \
150 CppunitTest_sc_datapilotfieldsobj \
151 CppunitTest_sc_datapilotitemobj \
152 CppunitTest_sc_datapilotitemsobj \
153 CppunitTest_sc_datapilottableobj \
154 CppunitTest_sc_datapilottablesobj \
155 CppunitTest_sc_ddelinkobj \
156 CppunitTest_sc_ddelinksobj \
157 CppunitTest_sc_documentconfigurationobj \
158 CppunitTest_sc_drawpageobj \
159 CppunitTest_sc_drawpagesobj \
160 CppunitTest_sc_editfieldobj_cell \
161 CppunitTest_sc_editfieldobj_header \
162 CppunitTest_sc_filterdescriptorbase \
163 CppunitTest_sc_functiondescriptionobj \
164 CppunitTest_sc_functionlistobj \
165 CppunitTest_sc_headerfieldsobj \
166 CppunitTest_sc_headerfootercontentobj \
167 CppunitTest_sc_indexenumeration_cellannotationsenumeration \
168 CppunitTest_sc_indexenumeration_cellarealinksenumeration \
169 CppunitTest_sc_indexenumeration_databaserangesenumeration \
170 CppunitTest_sc_indexenumeration_datapilotfieldsenumeration \
171 CppunitTest_sc_indexenumeration_datapilotitemsenumeration \
172 CppunitTest_sc_indexenumeration_datapilottablesenumeration \
173 CppunitTest_sc_indexenumeration_ddelinksenumeration \
174 CppunitTest_sc_indexenumeration_functiondescriptionenumeration \
175 CppunitTest_sc_indexenumeration_labelrangesenumeration \
176 CppunitTest_sc_indexenumeration_namedrangesenumeration \
177 CppunitTest_sc_indexenumeration_scenariosenumeration \
178 CppunitTest_sc_indexenumeration_sheetcellrangesenumeration \
179 CppunitTest_sc_indexenumeration_sheetlinksenumeration \
180 CppunitTest_sc_indexenumeration_spreadsheetsenumeration \
181 CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration \
182 CppunitTest_sc_indexenumeration_subtotalfieldsenumeration \
183 CppunitTest_sc_indexenumeration_tableautoformatenumeration \
184 CppunitTest_sc_indexenumeration_tablechartsenumeration \
185 CppunitTest_sc_indexenumeration_tablecolumnsenumeration \
186 CppunitTest_sc_indexenumeration_tableconditionalentryenumeration \
187 CppunitTest_sc_indexenumeration_tablerowsenumeration \
188 CppunitTest_sc_indexenumeration_textfieldenumeration \
189 CppunitTest_sc_importdescriptorbaseobj \
190 CppunitTest_sc_labelrangeobj \
191 CppunitTest_sc_labelrangesobj \
192 CppunitTest_sc_modelobj \
193 CppunitTest_sc_namedrangeobj \
194 CppunitTest_sc_namedrangesobj \
195 CppunitTest_sc_opencl_test \
196 CppunitTest_sc_outlineobj \
197 CppunitTest_sc_parallelism \
198 CppunitTest_sc_recentfunctionsobj \
199 CppunitTest_sc_recordchanges \
200 CppunitTest_sc_scenariosobj \
201 CppunitTest_sc_shapeobj \
202 CppunitTest_sc_sheetlinkobj \
203 CppunitTest_sc_sheetlinksobj \
204 CppunitTest_sc_sortdescriptorbaseobj \
205 CppunitTest_sc_spreadsheetsettings \
206 CppunitTest_sc_spreadsheetsettingsobj \
207 CppunitTest_sc_styleobj \
208 CppunitTest_sc_stylefamiliesobj \
209 CppunitTest_sc_stylefamilyobj \
210 CppunitTest_sc_subtotaldescriptorbase \
211 CppunitTest_sc_subtotalfieldobj \
212 CppunitTest_sc_tablecolumnobj \
213 CppunitTest_sc_tablecolumnsobj \
214 CppunitTest_sc_tableconditionalentryobj \
215 CppunitTest_sc_tableconditionalformat \
216 CppunitTest_sc_tablerowobj \
217 CppunitTest_sc_tablerowsobj \
218 CppunitTest_sc_tablesheetobj \
219 CppunitTest_sc_tablesheetsobj \
220 CppunitTest_sc_tablevalidationobj \
221 CppunitTest_sc_tabviewobj \
222 CppunitTest_sc_uniquecellformatsenumeration \
223 CppunitTest_sc_uniquecellformatsobj \
224 CppunitTest_sc_viewpaneobj \
227 $(eval $(call gb_Module_add_perfcheck_targets,sc,\
228 CppunitTest_sc_perfobj \
229 CppunitTest_sc_tablesheetobj \
232 $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
233 PythonTest_sc_python \
236 # screenshots
237 $(eval $(call gb_Module_add_screenshot_targets,sc,\
238 CppunitTest_sc_screenshots \
241 $(eval $(call gb_Module_add_uicheck_targets,sc,\
242 UITest_conditional_format \
243 UITest_range_name \
244 UITest_hide_cols \
245 UITest_autofilter \
246 UITest_search_replace \
247 UITest_calc_tests \
248 UITest_calc_tests2 \
249 UITest_calc_tests3 \
250 UITest_calc_tests4 \
251 UITest_calc_tests6 \
252 UITest_csv_dialog \
253 UITest_statistics \
254 UITest_solver \
255 UITest_goalSeek \
256 UITest_protect \
257 UITest_sc_options \
258 UITest_validity \
259 UITest_key_f4 \
260 UITest_textCase \
261 UITest_textToColumns \
262 UITest_signatureLine \
263 UITest_inputLine \
264 UITest_calc_tests7 \
265 UITest_sort \
266 UITest_chart \
267 UITest_pageFormat \
268 UITest_pasteSpecial \
269 UITest_calc_tests8 \
270 UITest_calc_dialogs \
271 UITest_calc_tests9 \
272 UITest_function_wizard \
273 UITest_manual_tests \
275 endif
277 # vim: set noet sw=4 ts=4: