Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / sw / CppunitTest_sw_odfimport.mk
blobb9925c29c0f04781a986072a670bf3e6ec356fc3
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_odfimport))
14 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_odfimport))
16 $(eval $(call gb_CppunitTest_add_exception_objects,sw_odfimport, \
17 sw/qa/extras/odfimport/odfimport \
20 $(eval $(call gb_CppunitTest_use_libraries,sw_odfimport, \
21 comphelper \
22 editeng \
23 cppu \
24 cppuhelper \
25 sal \
26 svt \
27 sfx \
28 subsequenttest \
29 svl \
30 sw \
31 swqahelper \
32 test \
33 unotest \
34 vcl \
35 tl \
36 utl \
39 $(eval $(call gb_CppunitTest_use_externals,sw_odfimport,\
40 boost_headers \
41 libxml2 \
44 $(eval $(call gb_CppunitTest_set_include,sw_odfimport,\
45 -I$(SRCDIR)/sw/inc \
46 -I$(SRCDIR)/sw/source/core/inc \
47 -I$(SRCDIR)/sw/source/uibase/inc \
48 -I$(SRCDIR)/sw/qa/inc \
49 $$(INCLUDE) \
52 $(eval $(call gb_CppunitTest_use_system_win32_libs,sw_odfimport,\
53 ole32 \
56 $(eval $(call gb_CppunitTest_use_api,sw_odfimport,\
57 udkapi \
58 offapi \
59 oovbaapi \
62 $(eval $(call gb_CppunitTest_use_ure,sw_odfimport))
63 $(eval $(call gb_CppunitTest_use_vcl,sw_odfimport))
65 $(eval $(call gb_CppunitTest_use_rdb,sw_odfimport,services))
67 $(eval $(call gb_CppunitTest_use_configuration,sw_odfimport))
69 $(eval $(call gb_CppunitTest_add_arguments,sw_odfimport, \
70 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
73 $(eval $(call gb_CppunitTest_use_custom_headers,sw_odfimport,\
74 officecfg/registry \
77 ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
78 $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_odfimport,abort))
79 endif
81 # vim: set noet sw=4 ts=4: