| Xisco Fauli | 9398719 | 2024-06-28 15:17:56 +0200 | [diff] [blame] | 1 | # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
| 2 | # |
| Michael Meeks | d037b81 | 2026-03-26 15:06:16 +0000 | [diff] [blame] | 3 | # This file is part of the Collabora Office project. |
| Xisco Fauli | 9398719 | 2024-06-28 15:17:56 +0200 | [diff] [blame] | 4 | # |
| 5 | # This Source Code Form is subject to the terms of the Mozilla Public |
| 6 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
| 7 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 8 | # |
| 9 | |
| 10 | $(eval $(call gb_CppunitTest_CppunitTest,sw_autocorrect)) |
| 11 | |
| 12 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_autocorrect)) |
| 13 | |
| 14 | $(eval $(call gb_CppunitTest_add_exception_objects,sw_autocorrect, \ |
| 15 | sw/qa/extras/autocorrect/autocorrect \ |
| 16 | )) |
| 17 | |
| 18 | $(eval $(call gb_CppunitTest_use_libraries,sw_autocorrect, \ |
| 19 | comphelper \ |
| 20 | cppu \ |
| 21 | cppuhelper \ |
| 22 | editeng \ |
| 23 | sal \ |
| 24 | sfx \ |
| 25 | subsequenttest \ |
| 26 | svl \ |
| 27 | svx \ |
| 28 | svxcore \ |
| 29 | sw \ |
| 30 | swqahelper \ |
| 31 | test \ |
| 32 | unotest \ |
| 33 | utl \ |
| 34 | vcl \ |
| 35 | tl \ |
| 36 | )) |
| 37 | |
| 38 | $(eval $(call gb_CppunitTest_use_externals,sw_autocorrect,\ |
| 39 | boost_headers \ |
| 40 | libxml2 \ |
| 41 | )) |
| 42 | |
| 43 | $(eval $(call gb_CppunitTest_set_include,sw_autocorrect,\ |
| 44 | -I$(SRCDIR)/sw/inc \ |
| 45 | -I$(SRCDIR)/sw/source/core/inc \ |
| 46 | -I$(SRCDIR)/sw/source/uibase/inc \ |
| 47 | -I$(SRCDIR)/sw/qa/inc \ |
| 48 | $$(INCLUDE) \ |
| 49 | )) |
| 50 | |
| 51 | $(eval $(call gb_CppunitTest_use_api,sw_autocorrect,\ |
| 52 | udkapi \ |
| 53 | offapi \ |
| 54 | oovbaapi \ |
| 55 | )) |
| 56 | |
| 57 | $(eval $(call gb_CppunitTest_use_ure,sw_autocorrect)) |
| 58 | $(eval $(call gb_CppunitTest_use_vcl,sw_autocorrect)) |
| 59 | |
| 60 | $(eval $(call gb_CppunitTest_use_rdb,sw_autocorrect,services)) |
| 61 | |
| 62 | $(eval $(call gb_CppunitTest_use_custom_headers,sw_autocorrect,\ |
| 63 | officecfg/registry \ |
| 64 | )) |
| 65 | |
| 66 | $(eval $(call gb_CppunitTest_use_configuration,sw_autocorrect)) |
| 67 | |
| 68 | $(eval $(call gb_CppunitTest_use_uiconfigs,sw_autocorrect, \ |
| 69 | modules/swriter \ |
| 70 | )) |
| 71 | |
| 72 | $(eval $(call gb_CppunitTest_use_more_fonts,sw_autocorrect)) |
| 73 | |
| 74 | ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) |
| 75 | $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_autocorrect,abort)) |
| 76 | endif |
| 77 | |
| 78 | # vim: set noet sw=4 ts=4: |