blob: 8f89235dc4195ab93545d535c8e44e738c0747ef [file] [log] [blame]
Miklos Vajna342fe982025-12-18 08:21:14 +01001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#*************************************************************************
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Miklos Vajna342fe982025-12-18 08:21:14 +01005#
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/.
9#
10#*************************************************************************
11
12$(eval $(call gb_CppunitTest_CppunitTest,sd_ui_func))
13
14$(eval $(call gb_CppunitTest_use_externals,sd_ui_func,\
15 boost_headers \
16 libxml2 \
17))
18
19$(eval $(call gb_CppunitTest_use_common_precompiled_header,sd_ui_func))
20
21$(eval $(call gb_CppunitTest_add_exception_objects,sd_ui_func, \
22 sd/qa/ui/func/func \
23))
24
25$(eval $(call gb_CppunitTest_use_libraries,sd_ui_func, \
26 basegfx \
27 canvastools \
28 comphelper \
29 cppcanvas \
30 cppu \
31 cppuhelper \
32 docmodel \
33 drawinglayer \
34 editeng \
35 for \
36 forui \
37 i18nlangtag \
38 i18nutil \
39 msfilter \
40 oox \
41 sal \
42 salhelper \
43 sax \
44 sb \
45 sd \
Miklos Vajnadc669272026-03-20 15:09:57 +010046 sdqahelper \
Miklos Vajna342fe982025-12-18 08:21:14 +010047 sfx \
48 sot \
49 subsequenttest \
50 svl \
51 svt \
52 svx \
53 svxcore \
54 test \
55 tl \
56 tk \
57 ucbhelper \
58 unotest \
59 utl \
60 vcl \
61 xo \
62))
63
64$(eval $(call gb_CppunitTest_set_include,sd_ui_func,\
65 -I$(SRCDIR)/sd/inc \
66 -I$(SRCDIR)/sd/source/ui/inc \
67 -I$(SRCDIR)/sd/source/ui/slidesorter/inc \
68 -I$(SRCDIR)/sd/qa/unit \
Miklos Vajnadc669272026-03-20 15:09:57 +010069 -I$(SRCDIR)/sd/qa/inc \
Miklos Vajna342fe982025-12-18 08:21:14 +010070 $$(INCLUDE) \
71))
72
73$(eval $(call gb_CppunitTest_use_sdk_api,sd_ui_func))
74
75$(eval $(call gb_CppunitTest_use_ure,sd_ui_func))
76$(eval $(call gb_CppunitTest_use_vcl,sd_ui_func))
77
78$(eval $(call gb_CppunitTest_use_rdb,sd_ui_func,services))
79
80$(eval $(call gb_CppunitTest_use_custom_headers,sd_ui_func,\
81 officecfg/registry \
82))
83
84$(eval $(call gb_CppunitTest_use_configuration,sd_ui_func))
85
86$(eval $(call gb_CppunitTest_add_arguments,sd_ui_func, \
87 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
88))
89
90# vim: set noet sw=4 ts=4: