tdf#108518 partial revert tdf#64222 sw: better DOCX im/export
[LibreOffice.git] / sw / CppunitTest_sw_ooxmlimport2.mk
blob67c4077fcecde8d19e5b50ceba7df664f70a88ca
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 ifneq ($(OS),MACOSX)
15 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_ooxmlimport2))
16 endif
18 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlimport2, \
19 sw/qa/extras/ooxmlimport/ooxmlimport2 \
22 $(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlimport2, \
23 basegfx \
24 comphelper \
25 cppu \
26 cppuhelper \
27 sal \
28 sfx \
29 test \
30 unotest \
31 utl \
32 sw \
33 swqahelper \
34 tl \
35 vcl \
36 svxcore \
37 svl\
40 $(eval $(call gb_CppunitTest_use_externals,sw_ooxmlimport2,\
41 boost_headers \
42 libxml2 \
45 $(eval $(call gb_CppunitTest_set_include,sw_ooxmlimport2,\
46 -I$(SRCDIR)/sw/inc \
47 -I$(SRCDIR)/sw/source/core/inc \
48 -I$(SRCDIR)/sw/source/uibase/inc \
49 -I$(SRCDIR)/sw/qa/inc \
50 $$(INCLUDE) \
53 ifeq ($(OS),MACOSX)
55 $(eval $(call gb_CppunitTest_add_cxxflags,sw_ooxmlimport2,\
56 $(gb_OBJCXXFLAGS) \
59 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sw_ooxmlimport2,\
60 AppKit \
63 endif
65 $(eval $(call gb_CppunitTest_use_api,sw_ooxmlimport2,\
66 udkapi \
67 offapi \
68 oovbaapi \
71 $(eval $(call gb_CppunitTest_use_ure,sw_ooxmlimport2))
72 $(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlimport2))
74 $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlimport2,services))
76 $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport2))
78 # vim: set noet sw=4 ts=4: