blob: 6268f733b0d7dc0d07b43970b6f966ccb1fe7f4c [file] [log] [blame]
Tomaž Vajngerl8640e242023-01-24 22:16:08 +09001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#*************************************************************************
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Tomaž Vajngerl8640e242023-01-24 22:16:08 +09005#
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 Gilbert56f45bf2024-02-22 11:36:14 +000046$(eval $(call gb_CppunitTest_use_executable,sw_pdf_test,xpdfimport))
47
Tomaž Vajngerl8640e242023-01-24 22:16:08 +090048$(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 Vajna836c7732024-01-04 08:08:05 +010068ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
69$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_pdf_test,abort))
70endif
71
Tomaž Vajngerl8640e242023-01-24 22:16:08 +090072# vim: set noet sw=4 ts=4: