workaround segfault in compiler on macos-clang-intel
[LibreOffice.git] / sw / CppunitTest_sw_pdf_test.mk
blob6e4126fd3b06dc958cf6f8504d6177e4db47f48a
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
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/.
10 #*************************************************************************
12 $(eval $(call gb_CppunitTest_CppunitTest,sw_pdf_test))
14 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_pdf_test))
16 $(eval $(call gb_CppunitTest_add_exception_objects,sw_pdf_test, \
17 sw/qa/extras/pdf/HybridPdfTest \
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 \
41 $(eval $(call gb_CppunitTest_use_externals,sw_pdf_test,\
42 boost_headers \
43 libxml2 \
46 $(eval $(call gb_CppunitTest_use_executable,sw_pdf_test,xpdfimport))
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) \
57 $(eval $(call gb_CppunitTest_use_api,sw_pdf_test,\
58 udkapi \
59 offapi \
60 oovbaapi \
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))
68 ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
69 $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_pdf_test,abort))
70 endif
72 # vim: set noet sw=4 ts=4: