lwp build fixes
[LibreOffice.git] / connectivity / CppunitTest_connectivity_commontools.mk
blobe9d6e9859840f78bd2f7a8ae2de14fec10ee4687
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_GCC_IS_CLANG),TRUE)
26 $(eval $(call gb_CppunitTest_add_cxxflags,connectivity_commontools,\
27 -fpermissive \
29 endif
30 endif
32 ifeq ($(WINDOWS_SDK_VERSION),80)
33 $(eval $(call gb_CppunitTest_add_defs,connectivity_commontools,\
34 -DNTDDI_VERSION=0x0601 \
36 endif
38 # In mergedlibs mode we have multiply-defined symbols, which Visual Studio
39 # does not like. There is no good solution, so just force it.
40 ifeq ($(COM),MSC)
41 ifeq ($(MERGELIBS),CORE)
42 $(eval $(call gb_CppunitTest_add_ldflags,connectivity_commontools,\
43 /FORCE:MULTIPLE \
45 endif
46 endif
48 $(eval $(call gb_CppunitTest_add_exception_objects,connectivity_commontools, \
49 connectivity/qa/connectivity/commontools/FValue_test \
52 $(eval $(call gb_CppunitTest_use_library_objects,connectivity_commontools,dbtools))
54 $(eval $(call gb_CppunitTest_use_libraries,connectivity_commontools, \
55 comphelper \
56 cppu \
57 cppuhelper \
58 i18nlangtag \
59 $(if $(ENABLE_JAVA), \
60 jvmaccess) \
61 sal \
62 salhelper \
63 test \
64 unotest \
65 utl \
66 tl \
67 svt \
68 $(gb_UWINAPI) \
71 $(eval $(call gb_CppunitTest_use_components,connectivity_commontools,\
72 configmgr/source/configmgr \
73 i18npool/util/i18npool \
74 ucb/source/core/ucb1 \
75 ucb/source/ucp/file/ucpfile1 \
78 $(eval $(call gb_CppunitTest_use_configuration,connectivity_commontools))
80 # vim: set noet sw=4 ts=4: