tdf#137446: sc: Add UItest
[LibreOffice.git] / sw / CppunitTest_sw_uiwriter.mk
blob1e7a4d279ac008dc5fb405c3e747205cd292f016
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_use_common_precompiled_header,sw_uiwriter))
16 $(eval $(call gb_CppunitTest_add_exception_objects,sw_uiwriter, \
17 sw/qa/extras/uiwriter/uiwriter \
18 sw/qa/extras/uiwriter/uiwriter2 \
19 sw/qa/extras/uiwriter/uiwriter3 \
22 # note: this links msword only for the reason to have an order dependency,
23 # because "make sw.check" will not see the dependency through services.rdb
24 $(eval $(call gb_CppunitTest_use_libraries,sw_uiwriter, \
25 comphelper \
26 cppu \
27 cppuhelper \
28 editeng \
29 i18nlangtag \
30 msword \
31 sal \
32 sfx \
33 svl \
34 svt \
35 svxcore \
36 sw \
37 swqahelper \
38 test \
39 unotest \
40 vcl \
41 tl \
42 utl \
43 svx \
46 $(eval $(call gb_CppunitTest_use_externals,sw_uiwriter,\
47 boost_headers \
48 libxml2 \
51 $(eval $(call gb_CppunitTest_set_include,sw_uiwriter,\
52 -I$(SRCDIR)/sw/inc \
53 -I$(SRCDIR)/sw/source/core/inc \
54 -I$(SRCDIR)/sw/source/uibase/inc \
55 -I$(SRCDIR)/sw/source/filter/inc \
56 -I$(SRCDIR)/sw/source/filter/html \
57 -I$(SRCDIR)/sw/qa/inc \
58 $$(INCLUDE) \
61 $(eval $(call gb_CppunitTest_use_api,sw_uiwriter,\
62 udkapi \
63 offapi \
64 oovbaapi \
67 $(eval $(call gb_CppunitTest_use_ure,sw_uiwriter))
68 $(eval $(call gb_CppunitTest_use_vcl,sw_uiwriter))
70 $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter,services))
72 $(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter))
74 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uiwriter, \
75 modules/swriter \
76 sfx \
77 svt \
78 svx \
81 $(eval $(call gb_CppunitTest_use_packages,sw_uiwriter, \
82 oox_customshapes \
83 sfx2_classification \
86 $(call gb_CppunitTest_get_target,sw_uiwriter): \
87 $(call gb_Library_get_target,textconv_dict)
89 $(eval $(call gb_CppunitTest_use_more_fonts,sw_uiwriter))
91 # vim: set noet sw=4 ts=4: