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), \
44 $(eval
$(call gb_CppunitTest_use_externals
,sw_ww8export
$(1),\
49 $(eval
$(call gb_CppunitTest_set_include
,sw_ww8export
$(1),\
51 -I
$(SRCDIR
)/sw
/source
/core
/inc \
52 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
53 -I
$(SRCDIR
)/sw
/qa
/inc \
57 $(eval
$(call gb_CppunitTest_use_api
,sw_ww8export
$(1),\
63 $(eval
$(call gb_CppunitTest_use_ure
,sw_ww8export
$(1)))
64 $(eval
$(call gb_CppunitTest_use_vcl
,sw_ww8export
$(1)))
66 $(eval
$(call gb_CppunitTest_use_rdb
,sw_ww8export
$(1),services
))
69 # gpgme-w32spawn.exe is needed in workdir/LinkTarget/Executable
70 $(eval
$(call gb_CppunitTest_use_packages
,sw_ww8export
$(1),\
71 $(call gb_Helper_optional
,GPGMEPP
,gpgmepp
)\
75 $(eval
$(call gb_CppunitTest_use_configuration
,sw_ww8export
$(1)))
77 $(eval
$(call gb_CppunitTest_use_packages
,sw_ww8export
$(1),\
83 # vim: set noet sw=4 ts=4: