| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [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 | 9d754a5 | 2018-07-09 18:03:04 +0200 | [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_unowriter)) |
| 13 | |
| Luboš Luňák | 2c3f9fa | 2019-09-27 15:32:19 +0200 | [diff] [blame] | 14 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_unowriter)) |
| 15 | |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 16 | $(eval $(call gb_CppunitTest_add_exception_objects,sw_unowriter, \ |
| 17 | sw/qa/extras/unowriter/unowriter \ |
| 18 | )) |
| 19 | |
| Andrea Gelmini | 5c8d191 | 2019-08-13 08:49:31 +0200 | [diff] [blame] | 20 | # note: this links msword only for the reason to have an order dependency, |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 21 | # because "make sw.check" will not see the dependency through services.rdb |
| 22 | $(eval $(call gb_CppunitTest_use_libraries,sw_unowriter, \ |
| 23 | comphelper \ |
| 24 | cppu \ |
| 25 | cppuhelper \ |
| 26 | editeng \ |
| 27 | msword \ |
| 28 | sal \ |
| 29 | sfx \ |
| Xisco Fauli | 4170b94 | 2022-11-08 18:27:05 +0100 | [diff] [blame] | 30 | subsequenttest \ |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 31 | svl \ |
| 32 | svt \ |
| 33 | svxcore \ |
| 34 | sw \ |
| Miklos Vajna | 6353c51 | 2020-07-30 21:18:46 +0200 | [diff] [blame] | 35 | swqahelper \ |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 36 | test \ |
| 37 | unotest \ |
| 38 | vcl \ |
| 39 | tl \ |
| Miklos Vajna | ba60204 | 2019-01-04 11:04:05 +0100 | [diff] [blame] | 40 | tk \ |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 41 | utl \ |
| 42 | )) |
| 43 | |
| 44 | $(eval $(call gb_CppunitTest_use_externals,sw_unowriter,\ |
| 45 | boost_headers \ |
| 46 | libxml2 \ |
| 47 | )) |
| 48 | |
| 49 | $(eval $(call gb_CppunitTest_set_include,sw_unowriter,\ |
| 50 | -I$(SRCDIR)/sw/inc \ |
| 51 | -I$(SRCDIR)/sw/source/core/inc \ |
| Miklos Vajna | a4b67db | 2018-12-04 10:16:03 +0100 | [diff] [blame] | 52 | -I$(SRCDIR)/sw/source/uibase/inc \ |
| Miklos Vajna | 423e1ce | 2019-11-07 21:47:22 +0100 | [diff] [blame] | 53 | -I$(SRCDIR)/sw/qa/inc \ |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 54 | $$(INCLUDE) \ |
| 55 | )) |
| 56 | |
| 57 | $(eval $(call gb_CppunitTest_use_api,sw_unowriter,\ |
| 58 | udkapi \ |
| 59 | offapi \ |
| 60 | oovbaapi \ |
| 61 | )) |
| 62 | |
| 63 | $(eval $(call gb_CppunitTest_use_ure,sw_unowriter)) |
| 64 | $(eval $(call gb_CppunitTest_use_vcl,sw_unowriter)) |
| 65 | |
| 66 | $(eval $(call gb_CppunitTest_use_rdb,sw_unowriter,services)) |
| 67 | |
| Michael Stahl | 6204dfe | 2025-08-06 12:59:26 +0200 | [diff] [blame] | 68 | $(eval $(call gb_CppunitTest_use_custom_headers,sw_unowriter,\ |
| 69 | officecfg/registry \ |
| 70 | )) |
| 71 | |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 72 | $(eval $(call gb_CppunitTest_use_configuration,sw_unowriter)) |
| 73 | |
| 74 | $(eval $(call gb_CppunitTest_use_uiconfigs,sw_unowriter, \ |
| 75 | modules/swriter \ |
| 76 | )) |
| 77 | |
| 78 | $(call gb_CppunitTest_get_target,sw_unowriter): \ |
| Noel Grandin | 191e3f8 | 2024-02-19 15:48:38 +0200 | [diff] [blame] | 79 | $(call gb_Library_get_target,i18npool) |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 80 | |
| Jan-Marek Glogowski | 0685975 | 2018-09-30 15:34:07 +0000 | [diff] [blame] | 81 | $(eval $(call gb_CppunitTest_use_more_fonts,sw_unowriter)) |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 82 | |
| Miklos Vajna | 1bef59c | 2024-01-11 08:19:36 +0100 | [diff] [blame] | 83 | ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) |
| 84 | $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_unowriter,abort)) |
| 85 | endif |
| 86 | |
| Miklos Vajna | 9d754a5 | 2018-07-09 18:03:04 +0200 | [diff] [blame] | 87 | # vim: set noet sw=4 ts=4: |