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), \
42 $(eval
$(call gb_CppunitTest_use_externals
,sw_ww8export
$(1),\
47 $(eval
$(call gb_CppunitTest_set_include
,sw_ww8export
$(1),\
49 -I
$(SRCDIR
)/sw
/source
/core
/inc \
50 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
51 -I
$(SRCDIR
)/sw
/qa
/inc \
55 $(eval
$(call gb_CppunitTest_use_api
,sw_ww8export
$(1),\
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
))
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
)\
73 $(eval
$(call gb_CppunitTest_use_configuration
,sw_ww8export
$(1)))
75 $(eval
$(call gb_CppunitTest_use_packages
,sw_ww8export
$(1),\
81 # vim: set noet sw=4 ts=4: