tdf#91920 sw page gutter margin, from top: add doc model & UNO API
[LibreOffice.git] / sw / ooxmlexport_setup.mk
bloba367bbc05ce6268f6117b3bc187c5263d9eed8cb
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_use_common_precompiled_header,sw_ooxmlexport$(1)))
36 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlexport$(1), \
37 sw/qa/extras/ooxmlexport/ooxmlexport$(1) \
40 $(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlexport$(1), \
41 $(sw_ooxmlexport_libraries) \
44 $(eval $(call gb_CppunitTest_use_externals,sw_ooxmlexport$(1),\
45 boost_headers \
46 libxml2 \
49 $(eval $(call gb_CppunitTest_set_include,sw_ooxmlexport$(1),\
50 -I$(SRCDIR)/sw/inc \
51 -I$(SRCDIR)/sw/source/core/inc \
52 -I$(SRCDIR)/sw/qa/inc \
53 $$(INCLUDE) \
56 $(eval $(call gb_CppunitTest_use_api,sw_ooxmlexport$(1),\
57 udkapi \
58 offapi \
59 oovbaapi \
62 $(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport$(1)))
63 $(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport$(1)))
65 $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlexport$(1),services))
67 $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport$(1)))
69 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_ooxmlexport$(1),\
70 modules/swriter \
73 $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\
74 oox_customshapes \
75 oox_generated \
78 $(call gb_CppunitTest_get_target,sw_ooxmlexport$(1)) : $(call gb_Library_get_target,iti)
80 $(eval $(call gb_CppunitTest_use_more_fonts,sw_ooxmlexport$(1)))
82 endef
84 # vim: set noet sw=4 ts=4: