Files
odfstudio/sw/CppunitTest_sw_ooxmlfieldexport.mk
Stephan Bergmann 62c9a233da Even more CppunitTests need the ASan hack now
...from e854abe076 "Avoid external processes
picking up instdir/program/libnspr4.so"

Change-Id: Ice98a5ba06a4a6251fe68aee3c24ed9451eb8edd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194544
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Code-Style: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-11-26 13:51:24 +01:00

58 lines
1.7 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_use_common_precompiled_header,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/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sw_ooxmlfieldexport,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlfieldexport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_packages,sw_ooxmlfieldexport,\
oox_generated \
))
$(eval $(call gb_CppunitTest_add_arguments,sw_ooxmlfieldexport, \
-env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
))
# vim: set noet sw=4 ts=4: