Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / desktop / CppunitTest_desktop_app.mk
blobe7d48e04e1a4132ee2b33bfefbcfc6a70bacb273
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 \
24 $(eval $(call gb_CppunitTest_use_libraries,desktop_app, \
25 comphelper \
26 cppu \
27 cppuhelper \
28 $(if $(ENABLE_BREAKPAD),crashreport) \
29 deploymentmisc \
30 editeng \
31 i18nlangtag \
32 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
33 sal \
34 salhelper \
35 sb \
36 sfx \
37 svl \
38 svx \
39 svxcore \
40 svt \
41 tk \
42 tl \
43 ucbhelper \
44 utl \
45 vcl \
48 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
49 ifeq ($(USING_X11),TRUE)
50 $(eval $(call gb_CppunitTest_use_static_libraries,desktop_app,\
51 glxtest \
53 endif
55 $(eval $(call gb_CppunitTest_add_libs,desktop_app,\
56 -lm $(DLOPEN_LIBS) \
57 -lpthread \
58 -lX11 \
60 endif
62 $(eval $(call gb_CppunitTest_use_library_objects,desktop_app, \
63 sofficeapp \
66 ifeq ($(ENABLE_MACOSX_SANDBOX),TRUE)
68 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,desktop_app,\
69 Foundation \
72 endif
74 $(eval $(call gb_CppunitTest_use_external,desktop_app,boost_headers))
76 $(eval $(call gb_CppunitTest_use_sdk_api,desktop_app))
78 # vim: set noet sw=4 ts=4: