Version 6.1.0.2, tag libreoffice-6.1.0.2
[LibreOffice.git] / sw / CppunitTest_sw_uiwriter.mk
blob05ce1b5c90d8221abfb7d98e4e24d4adac6a605e
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 $(eval $(call gb_CppunitTest_CppunitTest,sw_uiwriter))
14 $(eval $(call gb_CppunitTest_add_exception_objects,sw_uiwriter, \
15 sw/qa/extras/uiwriter/uiwriter \
18 # note: this links msword only for the reason to have a order dependency,
19 # because "make sw.check" will not see the dependency through services.rdb
20 $(eval $(call gb_CppunitTest_use_libraries,sw_uiwriter, \
21 comphelper \
22 cppu \
23 cppuhelper \
24 editeng \
25 msword \
26 sal \
27 sfx \
28 svl \
29 svt \
30 svxcore \
31 sw \
32 test \
33 unotest \
34 vcl \
35 tl \
36 utl \
39 $(eval $(call gb_CppunitTest_use_externals,sw_uiwriter,\
40 boost_headers \
41 libxml2 \
44 $(eval $(call gb_CppunitTest_set_include,sw_uiwriter,\
45 -I$(SRCDIR)/sw/inc \
46 -I$(SRCDIR)/sw/source/core/inc \
47 -I$(SRCDIR)/sw/source/uibase/inc \
48 -I$(SRCDIR)/sw/source/filter/inc \
49 -I$(SRCDIR)/sw/source/filter/html \
50 -I$(SRCDIR)/sw/qa/extras/inc \
51 $$(INCLUDE) \
54 $(eval $(call gb_CppunitTest_use_sdk_api,sw_uiwriter))
56 $(eval $(call gb_CppunitTest_use_ure,sw_uiwriter))
57 $(eval $(call gb_CppunitTest_use_vcl,sw_uiwriter))
59 $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter,services))
61 $(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter))
63 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uiwriter, \
64 modules/swriter \
67 $(call gb_CppunitTest_get_target,sw_uiwriter): \
68 $(call gb_Library_get_target,textconv_dict)
70 ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
71 $(call gb_CppunitTest_get_target,sw_uiwriter): \
72 $(call gb_ExternalPackage_get_target,fonts_liberation)
73 endif
75 # vim: set noet sw=4 ts=4: