LOK: tilebench improvements
[LibreOffice.git] / connectivity / CppunitTest_connectivity_commontools.mk
blob80e5d1ce5277f8350ee0417c10538280980066c5
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CppunitTest_CppunitTest,connectivity_commontools))
12 $(eval $(call gb_CppunitTest_set_include,connectivity_commontools,\
13 -I$(SRCDIR)/connectivity/source/inc \
14 $$(INCLUDE) \
17 $(eval $(call gb_CppunitTest_use_ure,connectivity_commontools))
18 $(eval $(call gb_CppunitTest_use_vcl,connectivity_commontools))
20 $(eval $(call gb_CppunitTest_use_external,connectivity_commontools,boost_headers))
22 $(eval $(call gb_CppunitTest_use_sdk_api,connectivity_commontools))
24 ifeq ($(COM),GCC)
25 ifneq ($(COM_IS_CLANG),TRUE)
26 $(eval $(call gb_CppunitTest_add_cxxflags,connectivity_commontools,\
27 -fpermissive \
29 endif
30 endif
32 # In mergedlibs mode we have multiply-defined symbols, which Visual Studio
33 # does not like. There is no good solution, so just force it.
34 ifeq ($(COM),MSC)
35 ifneq (,$(MERGELIBS))
36 $(eval $(call gb_CppunitTest_add_ldflags,connectivity_commontools,\
37 /FORCE:MULTIPLE \
39 endif
40 endif
42 $(eval $(call gb_CppunitTest_add_exception_objects,connectivity_commontools, \
43 connectivity/qa/connectivity/commontools/FValue_test \
46 $(eval $(call gb_CppunitTest_use_library_objects,connectivity_commontools,dbtools))
48 $(eval $(call gb_CppunitTest_use_libraries,connectivity_commontools, \
49 comphelper \
50 cppu \
51 cppuhelper \
52 i18nlangtag \
53 $(if $(ENABLE_JAVA), \
54 jvmaccess) \
55 sal \
56 salhelper \
57 test \
58 unotest \
59 utl \
60 tl \
61 svt \
62 vcl \
65 $(eval $(call gb_CppunitTest_use_components,connectivity_commontools,\
66 configmgr/source/configmgr \
67 i18npool/util/i18npool \
68 ucb/source/core/ucb1 \
69 ucb/source/ucp/file/ucpfile1 \
72 $(eval $(call gb_CppunitTest_use_configuration,connectivity_commontools))
74 # vim: set noet sw=4 ts=4: