5e43ccb275
...from e854abe076
"Avoid external processes
picking up instdir/program/libnspr4.so", after Xisco's recent CppunitTest clean-
up
Change-Id: Ia47e770a439af3476f81f8c28f2527bbf144baa4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141890
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
60 lines
1.4 KiB
Makefile
60 lines
1.4 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,sc_uicalc))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sc_uicalc, \
|
|
boost_headers \
|
|
mdds_headers \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sc_uicalc, \
|
|
sc/qa/unit/uicalc/uicalc \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sc_uicalc, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nlangtag \
|
|
sal \
|
|
sc \
|
|
sfx \
|
|
subsequenttest \
|
|
svl \
|
|
svl \
|
|
svx \
|
|
svxcore \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
utl \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sc_uicalc,\
|
|
-I$(SRCDIR)/sc/source/ui/inc \
|
|
-I$(SRCDIR)/sc/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sc_uicalc))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sc_uicalc))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sc_uicalc))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sc_uicalc,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sc_uicalc))
|
|
|
|
$(eval $(call gb_CppunitTest_add_arguments,sc_uicalc, \
|
|
-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:
|