office-gobmx/comphelper/CppunitTest_comphelper_weakbag_test.mk
RMZeroFour 804caab067 tdf#146266 Move WeakBag test to gbuild system
As part of the efforts in tdf#146266 to move parts of the codebase from
the older makefile.mk build system to the newer gbuild system, this
commit migrates the WeakBag test, and cleans it up a little.

The test can now be invoked using this command:

$ make CppunitTest_comphelper_weakbag

Change-Id: I4ac3771fa23e28abd38a2dab84cacd1ae57fb70f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165591
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-04-12 16:50:31 +02:00

27 lines
725 B
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,comphelper_weakbag))
$(eval $(call gb_CppunitTest_add_exception_objects,comphelper_weakbag,\
comphelper/qa/weakbag/test_weakbag \
))
$(eval $(call gb_CppunitTest_use_api,comphelper_weakbag,\
udkapi \
))
$(eval $(call gb_CppunitTest_use_libraries,comphelper_weakbag,\
comphelper \
cppu \
cppuhelper \
sal \
))
# vim: set noet sw=4 ts=4: