| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +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. |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +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_txtexport)) |
| 13 | |
| Luboš Luňák | 2c3f9fa | 2019-09-27 15:32:19 +0200 | [diff] [blame] | 14 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_txtexport)) |
| 15 | |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +0200 | [diff] [blame] | 16 | $(eval $(call gb_CppunitTest_add_exception_objects,sw_txtexport, \ |
| 17 | sw/qa/extras/txtexport/txtexport \ |
| 18 | )) |
| 19 | |
| 20 | $(eval $(call gb_CppunitTest_use_libraries,sw_txtexport, \ |
| 21 | comphelper \ |
| 22 | cppu \ |
| 23 | cppuhelper \ |
| 24 | i18nlangtag \ |
| 25 | sal \ |
| 26 | sfx \ |
| Xisco Fauli | 4170b94 | 2022-11-08 18:27:05 +0100 | [diff] [blame] | 27 | subsequenttest \ |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +0200 | [diff] [blame] | 28 | sw \ |
| Miklos Vajna | 6353c51 | 2020-07-30 21:18:46 +0200 | [diff] [blame] | 29 | swqahelper \ |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +0200 | [diff] [blame] | 30 | test \ |
| 31 | tl \ |
| 32 | unotest \ |
| 33 | utl \ |
| 34 | vcl \ |
| 35 | $(gb_UWINAPI) \ |
| 36 | )) |
| 37 | |
| 38 | $(eval $(call gb_CppunitTest_use_externals,sw_txtexport,\ |
| 39 | boost_headers \ |
| 40 | libxml2 \ |
| 41 | )) |
| 42 | |
| 43 | $(eval $(call gb_CppunitTest_set_include,sw_txtexport,\ |
| 44 | -I$(SRCDIR)/sw/inc \ |
| 45 | -I$(SRCDIR)/sw/source/core/inc \ |
| 46 | -I$(SRCDIR)/sw/source/uibase/inc \ |
| Miklos Vajna | 423e1ce | 2019-11-07 21:47:22 +0100 | [diff] [blame] | 47 | -I$(SRCDIR)/sw/qa/inc \ |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +0200 | [diff] [blame] | 48 | $$(INCLUDE) \ |
| 49 | )) |
| 50 | |
| Tor Lillqvist | 0ee6b72 | 2018-03-22 12:46:56 +0200 | [diff] [blame] | 51 | $(eval $(call gb_CppunitTest_use_api,sw_txtexport,\ |
| 52 | udkapi \ |
| 53 | offapi \ |
| 54 | oovbaapi \ |
| 55 | )) |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +0200 | [diff] [blame] | 56 | |
| 57 | $(eval $(call gb_CppunitTest_use_ure,sw_txtexport)) |
| 58 | $(eval $(call gb_CppunitTest_use_vcl,sw_txtexport)) |
| 59 | |
| 60 | $(eval $(call gb_CppunitTest_use_rdb,sw_txtexport,services)) |
| 61 | |
| 62 | $(eval $(call gb_CppunitTest_use_configuration,sw_txtexport)) |
| 63 | |
| Miklos Vajna | de4e5ab | 2023-11-24 16:39:35 +0100 | [diff] [blame] | 64 | ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) |
| Miklos Vajna | 85852ad | 2023-11-22 20:07:25 +0100 | [diff] [blame] | 65 | $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_txtexport,abort)) |
| Miklos Vajna | de4e5ab | 2023-11-24 16:39:35 +0100 | [diff] [blame] | 66 | endif |
| Miklos Vajna | 85852ad | 2023-11-22 20:07:25 +0100 | [diff] [blame] | 67 | |
| Jan Holesovsky | 0425ccb | 2017-05-05 15:02:20 +0200 | [diff] [blame] | 68 | # vim: set noet sw=4 ts=4: |