blob: c9f1b4e566e8e20a7a7f3dcc31d6709319f9251f [file] [log] [blame]
Thorsten Behrens23118ce2022-09-11 12:21:22 +02001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#*************************************************************************
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Thorsten Behrens23118ce2022-09-11 12:21:22 +02005#
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/.
9#
10#*************************************************************************
11
12$(eval $(call gb_CppunitTest_CppunitTest,sw_odffeatures))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_odffeatures))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_odffeatures, \
17 sw/qa/extras/odfimport/odffeatures \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,sw_odffeatures, \
21 comphelper \
22 cppu \
23 cppuhelper \
24 sal \
25 sw \
26 swqahelper \
27 test \
28 unotest \
29 vcl \
30 utl \
31))
32
33$(eval $(call gb_CppunitTest_use_externals,sw_odffeatures,\
34 boost_headers \
Thorsten Behrens23118ce2022-09-11 12:21:22 +020035))
36
37$(eval $(call gb_CppunitTest_set_include,sw_odffeatures,\
38 -I$(SRCDIR)/sw/inc \
39 -I$(SRCDIR)/sw/qa/inc \
40 $$(INCLUDE) \
41))
42
43$(eval $(call gb_CppunitTest_use_api,sw_odffeatures,\
44 udkapi \
45 offapi \
46))
47
48$(eval $(call gb_CppunitTest_use_ure,sw_odffeatures))
49$(eval $(call gb_CppunitTest_use_vcl,sw_odffeatures))
50
51$(eval $(call gb_CppunitTest_use_rdb,sw_odffeatures,services))
52
53$(eval $(call gb_CppunitTest_use_configuration,sw_odffeatures))
54
55$(eval $(call gb_CppunitTest_add_arguments,sw_odffeatures, \
56 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
57))
58
59# vim: set noet sw=4 ts=4: