blob: fd276fb07c5953d5dfb917e13efdc23aeabb6a0f [file] [log] [blame]
Miklos Vajnad05a65b2020-01-27 17:54:31 +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 Vajnad05a65b2020-01-27 17:54:31 +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,sw_uibase_shells))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_uibase_shells))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_uibase_shells, \
Miklos Vajna745256f2025-03-03 08:31:55 +010017 sw/qa/uibase/shells/basesh \
Miklos Vajnae9d5ccd2023-01-18 08:20:24 +010018 sw/qa/uibase/shells/textfld \
Miklos Vajnaa5a1ea22023-01-20 09:50:11 +010019 sw/qa/uibase/shells/textsh \
codewithvk91a97c72024-11-06 17:56:14 +053020 sw/qa/uibase/shells/textsh1 \
Miklos Vajnad05a65b2020-01-27 17:54:31 +010021 sw/qa/uibase/shells/shells \
22))
23
24$(eval $(call gb_CppunitTest_use_libraries,sw_uibase_shells, \
25 comphelper \
26 cppu \
27 cppuhelper \
Miklos Vajnab03504b2020-02-07 17:54:50 +010028 editeng \
Miklos Vajnad05a65b2020-01-27 17:54:31 +010029 sal \
30 sfx \
Xisco Fauli4170b942022-11-08 18:27:05 +010031 subsequenttest \
Miklos Vajnad05a65b2020-01-27 17:54:31 +010032 svl \
Miklos Vajnab03504b2020-02-07 17:54:50 +010033 svx \
34 svxcore \
Miklos Vajnad05a65b2020-01-27 17:54:31 +010035 sw \
Miklos Vajna6353c512020-07-30 21:18:46 +020036 swqahelper \
Miklos Vajnad05a65b2020-01-27 17:54:31 +010037 test \
38 unotest \
39 utl \
40 vcl \
Miklos Vajna37892b92021-12-02 17:08:41 +010041 tl \
Miklos Vajnad05a65b2020-01-27 17:54:31 +010042))
43
44$(eval $(call gb_CppunitTest_use_externals,sw_uibase_shells,\
45 boost_headers \
46 libxml2 \
47))
48
49$(eval $(call gb_CppunitTest_set_include,sw_uibase_shells,\
50 -I$(SRCDIR)/sw/inc \
51 -I$(SRCDIR)/sw/source/core/inc \
52 -I$(SRCDIR)/sw/source/uibase/inc \
53 -I$(SRCDIR)/sw/qa/inc \
54 $$(INCLUDE) \
55))
56
57$(eval $(call gb_CppunitTest_use_api,sw_uibase_shells,\
58 udkapi \
59 offapi \
60 oovbaapi \
61))
62
63$(eval $(call gb_CppunitTest_use_ure,sw_uibase_shells))
64$(eval $(call gb_CppunitTest_use_vcl,sw_uibase_shells))
65
66$(eval $(call gb_CppunitTest_use_rdb,sw_uibase_shells,services))
67
68$(eval $(call gb_CppunitTest_use_custom_headers,sw_uibase_shells,\
69 officecfg/registry \
70))
71
72$(eval $(call gb_CppunitTest_use_configuration,sw_uibase_shells))
73
74$(eval $(call gb_CppunitTest_use_uiconfigs,sw_uibase_shells, \
75 modules/swriter \
76))
77
78$(eval $(call gb_CppunitTest_use_more_fonts,sw_uibase_shells))
79
Miklos Vajnad890c272024-04-11 07:27:47 +010080ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
81$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_uibase_shells,abort))
82endif
83
Miklos Vajnad05a65b2020-01-27 17:54:31 +010084# vim: set noet sw=4 ts=4: