clang does not support -flto=<number>
[LibreOffice.git] / sw / ww8export_setup.mk
blobf2fdd0a5aa9cdba5a82479414fb2525ab3afe57c
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 ww8export tests
13 define sw_ww8export_test
15 $(eval $(call gb_CppunitTest_CppunitTest,sw_ww8export$(1)))
17 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_ww8export$(1)))
19 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ww8export$(1), \
20 sw/qa/extras/ww8export/ww8export$(1) \
23 $(eval $(call gb_CppunitTest_use_libraries,sw_ww8export$(1), \
24 comphelper \
25 cppu \
26 cppuhelper \
27 editeng \
28 emboleobj \
29 sal \
30 sfx \
31 test \
32 unotest \
33 utl \
34 svl \
35 svxcore \
36 sw \
37 swqahelper \
38 tl \
39 vcl \
42 $(eval $(call gb_CppunitTest_use_externals,sw_ww8export$(1),\
43 boost_headers \
44 libxml2 \
47 $(eval $(call gb_CppunitTest_set_include,sw_ww8export$(1),\
48 -I$(SRCDIR)/sw/inc \
49 -I$(SRCDIR)/sw/source/core/inc \
50 -I$(SRCDIR)/sw/source/uibase/inc \
51 -I$(SRCDIR)/sw/qa/inc \
52 $$(INCLUDE) \
55 $(eval $(call gb_CppunitTest_use_api,sw_ww8export$(1),\
56 udkapi \
57 offapi \
58 oovbaapi \
61 $(eval $(call gb_CppunitTest_use_ure,sw_ww8export$(1)))
62 $(eval $(call gb_CppunitTest_use_vcl,sw_ww8export$(1)))
64 $(eval $(call gb_CppunitTest_use_rdb,sw_ww8export$(1),services))
66 ifeq ($(OS),WNT)
67 # gpgme-w32spawn.exe is needed in workdir/LinkTarget/Executable
68 $(eval $(call gb_CppunitTest_use_packages,sw_ww8export$(1),\
69 $(call gb_Helper_optional,GPGMEPP,gpgmepp)\
71 endif
73 $(eval $(call gb_CppunitTest_use_configuration,sw_ww8export$(1)))
75 $(eval $(call gb_CppunitTest_use_packages,sw_ww8export$(1),\
76 oox_customshapes \
79 endef
81 # vim: set noet sw=4 ts=4: