Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / desktop / CppunitTest_desktop_lokinit.mk
blob1f648a1ecc83a9893de8a0705871681aecabf2b5
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,desktop_lok_init))
14 $(eval $(call gb_CppunitTest_add_exception_objects,desktop_lok_init, \
15 desktop/qa/unit/desktop-lok-init \
18 $(eval $(call gb_CppunitTest_use_external,desktop_lok_init,boost_headers))
20 $(eval $(call gb_CppunitTest_use_sdk_api,desktop_lok_init))
22 $(eval $(call gb_CppunitTest_use_ure,desktop_lok_init))
24 $(eval $(call gb_CppunitTest_set_include,desktop_lok_init,\
25 -I$(SRCDIR)/desktop/source/inc \
26 -I$(SRCDIR)/desktop/inc \
27 $$(INCLUDE) \
30 $(eval $(call gb_CppunitTest_use_libraries,desktop_lok_init, \
31 comphelper \
32 cppu \
33 sal \
34 sofficeapp \
35 vcl \
36 $(gb_UWINAPI) \
39 ifeq ($(OS),LINUX)
40 $(eval $(call gb_CppunitTest_add_libs,desktop_lok_init,\
41 -lm \
42 -ldl \
44 endif
46 $(eval $(call gb_CppunitTest_use_configuration,desktop_lok_init))
48 # vim: set noet sw=4 ts=4: