Update git submodules
[LibreOffice.git] / sw / rtfexport_setup.mk
blob40bbfb62321aa625d4e6691a3e26585748c685b8
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 # template for rtfexport tests
13 define sw_rtfexport_test
15 $(eval $(call gb_CppunitTest_CppunitTest,sw_rtfexport$(1)))
17 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_rtfexport$(1)))
19 $(eval $(call gb_CppunitTest_add_exception_objects,sw_rtfexport$(1), \
20 sw/qa/extras/rtfexport/rtfexport$(1) \
23 $(eval $(call gb_CppunitTest_use_libraries,sw_rtfexport$(1), \
24 comphelper \
25 cppu \
26 cppuhelper \
27 i18nlangtag \
28 sal \
29 sfx \
30 svl \
31 sw \
32 swqahelper \
33 test \
34 unotest \
35 utl \
36 vcl \
37 tl \
40 $(eval $(call gb_CppunitTest_use_externals,sw_rtfexport$(1),\
41 boost_headers \
42 libxml2 \
45 $(eval $(call gb_CppunitTest_set_include,sw_rtfexport$(1),\
46 -I$(SRCDIR)/sw/inc \
47 -I$(SRCDIR)/sw/source/core/inc \
48 -I$(SRCDIR)/sw/qa/inc \
49 $$(INCLUDE) \
52 $(eval $(call gb_CppunitTest_use_api,sw_rtfexport$(1),\
53 udkapi \
54 offapi \
55 oovbaapi \
58 $(eval $(call gb_CppunitTest_use_ure,sw_rtfexport$(1)))
59 $(eval $(call gb_CppunitTest_use_vcl,sw_rtfexport$(1)))
61 $(eval $(call gb_CppunitTest_use_rdb,sw_rtfexport$(1),services))
63 $(eval $(call gb_CppunitTest_use_configuration,sw_rtfexport$(1)))
65 endef
67 # vim: set noet sw=4 ts=4: