blob: e1a9fe44e9dca277b37ab7c2eddcc59667c6987f [file] [log] [blame]
Xisco Fauli07fa6e02023-03-23 18:02:18 +01001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
Michael Meeksd037b812026-03-26 15:06:16 +00003# This file is part of the Collabora Office project.
Xisco Fauli07fa6e02023-03-23 18:02:18 +01004#
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/.
8#
9
10$(eval $(call gb_CppunitTest_CppunitTest,sc_uicalc2))
11
12$(eval $(call gb_CppunitTest_use_externals,sc_uicalc2, \
13 boost_headers \
14 mdds_headers \
15 libxml2 \
16))
17
18$(eval $(call gb_CppunitTest_add_exception_objects,sc_uicalc2, \
19 sc/qa/unit/uicalc/uicalc2 \
20))
21
22$(eval $(call gb_CppunitTest_use_libraries,sc_uicalc2, \
23 comphelper \
24 cppu \
25 cppuhelper \
Mike Kaganski36b7ae32023-12-21 16:57:27 +030026 editeng \
Xisco Fauli07fa6e02023-03-23 18:02:18 +010027 i18nlangtag \
28 sal \
29 sc \
30 scqahelper \
31 sfx \
Mike Kaganskiaa4a40e2026-02-03 18:53:38 +050032 sot \
Xisco Fauli07fa6e02023-03-23 18:02:18 +010033 subsequenttest \
34 svl \
35 svl \
36 svx \
37 svxcore \
38 test \
39 tl \
40 unotest \
41 utl \
42 vcl \
Stephan Bergmann724aad72026-02-24 15:43:35 +010043 $(if $(filter -fsanitize=vptr,$(gb_CXX)),salhelper) \
Xisco Fauli07fa6e02023-03-23 18:02:18 +010044))
45
46$(eval $(call gb_CppunitTest_set_include,sc_uicalc2,\
47 -I$(SRCDIR)/sc/source/ui/inc \
48 -I$(SRCDIR)/sc/inc \
49 $$(INCLUDE) \
50))
51
52$(eval $(call gb_CppunitTest_use_sdk_api,sc_uicalc2))
53
54$(eval $(call gb_CppunitTest_use_ure,sc_uicalc2))
55$(eval $(call gb_CppunitTest_use_vcl,sc_uicalc2))
56
57$(eval $(call gb_CppunitTest_use_rdb,sc_uicalc2,services))
58
59$(eval $(call gb_CppunitTest_use_configuration,sc_uicalc2))
60
61$(eval $(call gb_CppunitTest_add_arguments,sc_uicalc2, \
62 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
63))
64
65# vim: set noet sw=4 ts=4: