| Miklos Vajna | 8a7d0e8 | 2022-03-24 08:44:52 +0100 | [diff] [blame] | 1 | # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
| 2 | #************************************************************************* |
| 3 | # |
| Michael Meeks | d037b81 | 2026-03-26 15:06:16 +0000 | [diff] [blame] | 4 | # This file is part of the Collabora Office project. |
| Miklos Vajna | 8a7d0e8 | 2022-03-24 08:44:52 +0100 | [diff] [blame] | 5 | # |
| 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_wrtsh)) |
| 13 | |
| 14 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_uibase_wrtsh)) |
| 15 | |
| 16 | $(eval $(call gb_CppunitTest_add_exception_objects,sw_uibase_wrtsh, \ |
| 17 | sw/qa/uibase/wrtsh/wrtsh \ |
| 18 | )) |
| 19 | |
| 20 | $(eval $(call gb_CppunitTest_use_libraries,sw_uibase_wrtsh, \ |
| 21 | comphelper \ |
| 22 | cppu \ |
| 23 | cppuhelper \ |
| 24 | editeng \ |
| 25 | sal \ |
| 26 | sfx \ |
| Xisco Fauli | 4170b94 | 2022-11-08 18:27:05 +0100 | [diff] [blame] | 27 | subsequenttest \ |
| Miklos Vajna | 8a7d0e8 | 2022-03-24 08:44:52 +0100 | [diff] [blame] | 28 | svl \ |
| 29 | svx \ |
| 30 | svxcore \ |
| 31 | sw \ |
| 32 | swqahelper \ |
| 33 | test \ |
| 34 | unotest \ |
| 35 | utl \ |
| 36 | vcl \ |
| 37 | tl \ |
| 38 | )) |
| 39 | |
| 40 | $(eval $(call gb_CppunitTest_use_externals,sw_uibase_wrtsh,\ |
| 41 | boost_headers \ |
| 42 | libxml2 \ |
| 43 | )) |
| 44 | |
| 45 | $(eval $(call gb_CppunitTest_set_include,sw_uibase_wrtsh,\ |
| 46 | -I$(SRCDIR)/sw/inc \ |
| 47 | -I$(SRCDIR)/sw/source/core/inc \ |
| 48 | -I$(SRCDIR)/sw/source/uibase/inc \ |
| 49 | -I$(SRCDIR)/sw/qa/inc \ |
| 50 | $$(INCLUDE) \ |
| 51 | )) |
| 52 | |
| 53 | $(eval $(call gb_CppunitTest_use_api,sw_uibase_wrtsh,\ |
| 54 | udkapi \ |
| 55 | offapi \ |
| 56 | oovbaapi \ |
| 57 | )) |
| 58 | |
| 59 | $(eval $(call gb_CppunitTest_use_ure,sw_uibase_wrtsh)) |
| 60 | $(eval $(call gb_CppunitTest_use_vcl,sw_uibase_wrtsh)) |
| 61 | |
| 62 | $(eval $(call gb_CppunitTest_use_rdb,sw_uibase_wrtsh,services)) |
| 63 | |
| 64 | $(eval $(call gb_CppunitTest_use_custom_headers,sw_uibase_wrtsh,\ |
| 65 | officecfg/registry \ |
| 66 | )) |
| 67 | |
| 68 | $(eval $(call gb_CppunitTest_use_configuration,sw_uibase_wrtsh)) |
| 69 | |
| 70 | $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uibase_wrtsh, \ |
| 71 | modules/swriter \ |
| 72 | )) |
| 73 | |
| 74 | $(eval $(call gb_CppunitTest_use_more_fonts,sw_uibase_wrtsh)) |
| 75 | |
| Miklos Vajna | 1bef59c | 2024-01-11 08:19:36 +0100 | [diff] [blame] | 76 | ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) |
| 77 | $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_uibase_wrtsh,abort)) |
| 78 | endif |
| 79 | |
| Miklos Vajna | 8a7d0e8 | 2022-03-24 08:44:52 +0100 | [diff] [blame] | 80 | # vim: set noet sw=4 ts=4: |