Bump version to 21.06.18.1
[LibreOffice.git] / desktop / CppunitTest_desktop_app.mk
blob15b681cef048822e925c857f393a93b839a1c753
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,desktop_app))
12 $(eval $(call gb_CppunitTest_add_exception_objects,desktop_app, \
13 desktop/qa/desktop_app/test_desktop_app \
16 $(eval $(call gb_CppunitTest_use_externals,desktop_app, \
17 $(if $(ENABLE_BREAKPAD),breakpad) \
18 dbus \
19 icu_headers \
20 icui18n \
21 icuuc \
22 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
23 curl \
24 orcus-parser \
25 orcus )\
28 $(eval $(call gb_CppunitTest_use_libraries,desktop_app, \
29 comphelper \
30 cppu \
31 cppuhelper \
32 $(if $(ENABLE_BREAKPAD),crashreport) \
33 deploymentmisc \
34 editeng \
35 fwk \
36 i18nlangtag \
37 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
38 sal \
39 salhelper \
40 sb \
41 sfx \
42 svl \
43 svx \
44 svxcore \
45 svt \
46 tk \
47 tl \
48 ucbhelper \
49 utl \
50 vcl \
53 ifeq ($(OS),WNT)
54 $(eval $(call gb_CppunitTest_use_static_libraries,desktop_app,\
55 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
56 windows_process )\
58 endif
61 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
62 ifeq ($(USING_X11),TRUE)
63 $(eval $(call gb_CppunitTest_use_static_libraries,desktop_app,\
64 glxtest \
66 endif
68 $(eval $(call gb_CppunitTest_add_libs,desktop_app,\
69 -lm $(DLOPEN_LIBS) \
70 -lX11 \
72 endif
74 $(eval $(call gb_CppunitTest_use_library_objects,desktop_app, \
75 sofficeapp \
78 ifeq ($(ENABLE_MACOSX_SANDBOX),TRUE)
80 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,desktop_app,\
81 Foundation \
84 endif
86 $(eval $(call gb_CppunitTest_use_external,desktop_app,boost_headers))
88 $(eval $(call gb_CppunitTest_use_sdk_api,desktop_app))
90 # vim: set noet sw=4 ts=4: