| Tomaž Vajngerl | 8640e24 | 2023-01-24 22:16:08 +0900 | [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. |
| Tomaž Vajngerl | 8640e24 | 2023-01-24 22:16:08 +0900 | [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_pdf_test)) |
| 13 | |
| 14 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_pdf_test)) |
| 15 | |
| 16 | $(eval $(call gb_CppunitTest_add_exception_objects,sw_pdf_test, \ |
| 17 | sw/qa/extras/pdf/HybridPdfTest \ |
| 18 | )) |
| 19 | |
| 20 | $(eval $(call gb_CppunitTest_use_libraries,sw_pdf_test, \ |
| 21 | comphelper \ |
| 22 | cppu \ |
| 23 | cppuhelper \ |
| 24 | i18nlangtag \ |
| 25 | msfilter \ |
| 26 | sal \ |
| 27 | sfx \ |
| 28 | sot \ |
| 29 | subsequenttest \ |
| 30 | sw \ |
| 31 | swqahelper \ |
| 32 | svl \ |
| 33 | svt \ |
| 34 | test \ |
| 35 | tl \ |
| 36 | unotest \ |
| 37 | utl \ |
| 38 | vcl \ |
| 39 | )) |
| 40 | |
| 41 | $(eval $(call gb_CppunitTest_use_externals,sw_pdf_test,\ |
| 42 | boost_headers \ |
| 43 | libxml2 \ |
| 44 | )) |
| 45 | |
| Dr. David Alan Gilbert | 56f45bf | 2024-02-22 11:36:14 +0000 | [diff] [blame] | 46 | $(eval $(call gb_CppunitTest_use_executable,sw_pdf_test,xpdfimport)) |
| 47 | |
| Tomaž Vajngerl | 8640e24 | 2023-01-24 22:16:08 +0900 | [diff] [blame] | 48 | $(eval $(call gb_CppunitTest_set_include,sw_pdf_test,\ |
| 49 | -I$(SRCDIR)/sw/inc \ |
| 50 | -I$(SRCDIR)/sw/source/core/inc \ |
| 51 | -I$(SRCDIR)/sw/source/uibase/inc \ |
| 52 | -I$(SRCDIR)/sw/source/filter/inc \ |
| 53 | -I$(SRCDIR)/sw/qa/inc \ |
| 54 | $$(INCLUDE) \ |
| 55 | )) |
| 56 | |
| 57 | $(eval $(call gb_CppunitTest_use_api,sw_pdf_test,\ |
| 58 | udkapi \ |
| 59 | offapi \ |
| 60 | oovbaapi \ |
| 61 | )) |
| 62 | |
| 63 | $(eval $(call gb_CppunitTest_use_ure,sw_pdf_test)) |
| 64 | $(eval $(call gb_CppunitTest_use_vcl,sw_pdf_test)) |
| 65 | $(eval $(call gb_CppunitTest_use_rdb,sw_pdf_test,services)) |
| 66 | $(eval $(call gb_CppunitTest_use_configuration,sw_pdf_test)) |
| 67 | |
| Miklos Vajna | 836c773 | 2024-01-04 08:08:05 +0100 | [diff] [blame] | 68 | ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) |
| 69 | $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_pdf_test,abort)) |
| 70 | endif |
| 71 | |
| Tomaž Vajngerl | 8640e24 | 2023-01-24 22:16:08 +0900 | [diff] [blame] | 72 | # vim: set noet sw=4 ts=4: |