Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / desktop / CppunitTest_desktop_app.mk
blobadb57add6e7a32d2536354142c217ec4821b10fb
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 i18nlangtag \
36 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
37 sal \
38 salhelper \
39 sb \
40 sfx \
41 svl \
42 svx \
43 svxcore \
44 svt \
45 tk \
46 tl \
47 ucbhelper \
48 utl \
49 vcl \
52 ifeq ($(OS),WNT)
53 $(eval $(call gb_CppunitTest_use_static_libraries,desktop_app,\
54 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
55 windows_process )\
57 endif
60 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
61 ifeq ($(USING_X11),TRUE)
62 $(eval $(call gb_CppunitTest_use_static_libraries,desktop_app,\
63 glxtest \
65 endif
67 $(eval $(call gb_CppunitTest_add_libs,desktop_app,\
68 -lm $(DLOPEN_LIBS) \
69 -lX11 \
71 endif
73 $(eval $(call gb_CppunitTest_use_library_objects,desktop_app, \
74 sofficeapp \
77 ifeq ($(ENABLE_MACOSX_SANDBOX),TRUE)
79 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,desktop_app,\
80 Foundation \
83 endif
85 $(eval $(call gb_CppunitTest_use_external,desktop_app,boost_headers))
87 $(eval $(call gb_CppunitTest_use_sdk_api,desktop_app))
89 # vim: set noet sw=4 ts=4: