office-gobmx/sw/CppunitTest_sw_ooxmlfieldexport.mk
Matúš Kukan d8a9d48389 Workaround strange sw test makefiles
Include ooxmlexport_setup.mk only once in Module_sw.mk,
so that gbuildtojson can properly set last included
makefile for test jsons.

Change-Id: Ie8ed3296ae97cf4a33d652599673f389b224993e
Reviewed-on: https://gerrit.libreoffice.org/32502
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-30 07:16:03 +00:00

50 lines
1.5 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#*************************************************************************
$(eval $(call gb_CppunitTest_CppunitTest,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlfieldexport, \
sw/qa/extras/ooxmlexport/ooxmlfieldexport \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlfieldexport, \
$(sw_ooxmlexport_libraries) \
))
$(eval $(call gb_CppunitTest_use_externals,sw_ooxmlfieldexport,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_ooxmlfieldexport,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/qa/extras/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_sdk_api,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlfieldexport,\
$(sw_ooxmlexport_components) \
filter/source/storagefilterdetect/storagefd \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_packages,sw_ooxmlfieldexport,\
oox_generated \
))
# vim: set noet sw=4 ts=4: