office-gobmx/sw/CppunitTest_sw_autocorrect.mk
Xisco Fauli 93987194f5 tdf#92029: sw_autocorrect: Add unittest
Change-Id: I7ac855ac826353869c3a905ea70448d0c8dc1b76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169711
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-06-28 21:24:13 +02:00

78 lines
1.8 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_autocorrect))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_autocorrect))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_autocorrect, \
sw/qa/extras/autocorrect/autocorrect \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_autocorrect, \
comphelper \
cppu \
cppuhelper \
editeng \
sal \
sfx \
subsequenttest \
svl \
svx \
svxcore \
sw \
swqahelper \
test \
unotest \
utl \
vcl \
tl \
))
$(eval $(call gb_CppunitTest_use_externals,sw_autocorrect,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_autocorrect,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/source/uibase/inc \
-I$(SRCDIR)/sw/qa/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sw_autocorrect,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_autocorrect))
$(eval $(call gb_CppunitTest_use_vcl,sw_autocorrect))
$(eval $(call gb_CppunitTest_use_rdb,sw_autocorrect,services))
$(eval $(call gb_CppunitTest_use_custom_headers,sw_autocorrect,\
officecfg/registry \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_autocorrect))
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_autocorrect, \
modules/swriter \
))
$(eval $(call gb_CppunitTest_use_more_fonts,sw_autocorrect))
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_autocorrect,abort))
endif
# vim: set noet sw=4 ts=4: