tdf#152484 cui,sw: if decorative is enabled, disable title/description
[LibreOffice.git] / sw / ooxmlexport_setup.mk
blobef1cbb3bffe92ee5399ef7198e84d878b6269a07
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 docmodel \
17 editeng \
18 sal \
19 sfx \
20 subsequenttest \
21 svl \
22 sw \
23 swqahelper \
24 test \
25 tl \
26 unotest \
27 utl \
28 vcl \
29 svxcore \
30 basegfx
31 endef
33 # template for ooxmlexport tests (there are several so that they can be run in parallel)
34 define sw_ooxmlexport_test
36 $(eval $(call gb_CppunitTest_CppunitTest,sw_ooxmlexport$(1)))
38 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_ooxmlexport$(1)))
40 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlexport$(1), \
41 sw/qa/extras/ooxmlexport/ooxmlexport$(1) \
44 $(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlexport$(1), \
45 $(sw_ooxmlexport_libraries) \
48 $(eval $(call gb_CppunitTest_use_externals,sw_ooxmlexport$(1),\
49 boost_headers \
50 libxml2 \
53 $(eval $(call gb_CppunitTest_set_include,sw_ooxmlexport$(1),\
54 -I$(SRCDIR)/sw/inc \
55 -I$(SRCDIR)/sw/source/core/inc \
56 -I$(SRCDIR)/sw/source/uibase/inc \
57 -I$(SRCDIR)/sw/qa/inc \
58 $$(INCLUDE) \
61 $(eval $(call gb_CppunitTest_use_api,sw_ooxmlexport$(1),\
62 udkapi \
63 offapi \
64 oovbaapi \
67 $(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport$(1)))
68 $(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport$(1)))
70 $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlexport$(1),services))
72 $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport$(1)))
74 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_ooxmlexport$(1),\
75 modules/swriter \
76 sfx \
77 svt \
80 $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\
81 oox_customshapes \
82 oox_generated \
85 $(call gb_CppunitTest_get_target,sw_ooxmlexport$(1)) : $(call gb_Library_get_target,iti)
87 $(eval $(call gb_CppunitTest_use_more_fonts,sw_ooxmlexport$(1)))
89 ifeq ($(OS),WNT)
90 # gpgme-w32spawn.exe is needed in workdir/LinkTarget/Executable
91 $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\
92 $(call gb_Helper_optional,GPGMEPP,gpgmepp)\
94 endif
97 $(eval $(call gb_CppunitTest_add_arguments,sw_ooxmlexport$(1), \
98 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
101 endef
103 # vim: set noet sw=4 ts=4: