loplugin:unusedfields
[LibreOffice.git] / sw / CppunitTest_sw_ooxmlimport2.mk
blobce1a040ffc12887c6bf2dd1fb5ecf206807e7028
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_ooxmlimport2))
14 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlimport2, \
15 sw/qa/extras/ooxmlimport/ooxmlimport2 \
18 $(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlimport2, \
19 basegfx \
20 comphelper \
21 cppu \
22 cppuhelper \
23 sal \
24 sfx \
25 test \
26 unotest \
27 utl \
28 sw \
29 tl \
30 vcl \
31 svxcore \
34 $(eval $(call gb_CppunitTest_use_externals,sw_ooxmlimport2,\
35 boost_headers \
36 libxml2 \
39 $(eval $(call gb_CppunitTest_set_include,sw_ooxmlimport2,\
40 -I$(SRCDIR)/sw/inc \
41 -I$(SRCDIR)/sw/source/core/inc \
42 -I$(SRCDIR)/sw/source/uibase/inc \
43 -I$(SRCDIR)/sw/qa/extras/inc \
44 $$(INCLUDE) \
47 ifeq ($(OS),MACOSX)
49 $(eval $(call gb_CppunitTest_add_cxxflags,sw_ooxmlimport2,\
50 $(gb_OBJCXXFLAGS) \
53 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sw_ooxmlimport2,\
54 AppKit \
57 endif
59 $(eval $(call gb_CppunitTest_use_api,sw_ooxmlimport2,\
60 udkapi \
61 offapi \
62 oovbaapi \
65 $(eval $(call gb_CppunitTest_use_ure,sw_ooxmlimport2))
66 $(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlimport2))
68 $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlimport2,services))
70 $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport2))
72 # At least testTdf115094::Import (sw/qa/extras/ooxmlimport/ooxmlimport2.cxx) depends on TIFFReader
73 # from Library_gie, which is loaded dynamically in vcl/source/filter/graphicfilter.cxx:
74 $(call gb_CppunitTest_get_target,sw_ooxmlimport2): $(call gb_Library_get_target,gie)
76 # vim: set noet sw=4 ts=4: