Qt5 move boilerplate clipboard code to the end...
[LibreOffice.git] / sw / ooxmlexport_setup.mk
blobc482ef40ce6f0608c27d2ba9100f214cbb107dba
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 define sw_ooxmlexport_libraries
13 comphelper \
14 cppu \
15 cppuhelper \
16 editeng \
17 sal \
18 sfx \
19 svl \
20 sw \
21 test \
22 tl \
23 unotest \
24 utl \
25 vcl \
26 svxcore
27 endef
29 # template for ooxmlexport tests (there are several so that they can be run in parallel)
30 define sw_ooxmlexport_test
32 $(eval $(call gb_CppunitTest_CppunitTest,sw_ooxmlexport$(1)))
34 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlexport$(1), \
35 sw/qa/extras/ooxmlexport/ooxmlexport$(1) \
38 $(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlexport$(1), \
39 $(sw_ooxmlexport_libraries) \
42 $(eval $(call gb_CppunitTest_use_externals,sw_ooxmlexport$(1),\
43 boost_headers \
44 libxml2 \
47 $(eval $(call gb_CppunitTest_set_include,sw_ooxmlexport$(1),\
48 -I$(SRCDIR)/sw/inc \
49 -I$(SRCDIR)/sw/source/core/inc \
50 -I$(SRCDIR)/sw/qa/extras/inc \
51 $$(INCLUDE) \
54 $(eval $(call gb_CppunitTest_use_api,sw_ooxmlexport$(1),\
55 udkapi \
56 offapi \
57 oovbaapi \
60 $(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport$(1)))
61 $(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport$(1)))
63 $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlexport$(1),services))
65 $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport$(1)))
67 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_ooxmlexport$(1),\
68 modules/swriter \
71 $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\
72 oox_customshapes \
73 oox_generated \
76 $(call gb_CppunitTest_get_target,sw_ooxmlexport$(1)) : $(call gb_Library_get_target,iti)
78 $(eval $(call gb_CppunitTest_use_more_fonts,sw_ooxmlexport$(1)))
80 endef
82 # vim: set noet sw=4 ts=4: