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
) \
22 $(if
$(ENABLE_ONLINE_UPDATE_MAR
),\
28 $(eval
$(call gb_CppunitTest_use_libraries
,desktop_app
, \
32 $(if
$(ENABLE_BREAKPAD
),crashreport
) \
36 $(if
$(filter OPENCL
,$(BUILD_TYPE
)),opencl
) \
53 $(eval
$(call gb_CppunitTest_use_static_libraries
,desktop_app
,\
54 $(if
$(ENABLE_ONLINE_UPDATE_MAR
),\
60 ifeq ($(OS
), $(filter LINUX
%BSD SOLARIS
, $(OS
)))
61 ifeq ($(USING_X11
),TRUE
)
62 $(eval
$(call gb_CppunitTest_use_static_libraries
,desktop_app
,\
67 $(eval
$(call gb_CppunitTest_add_libs
,desktop_app
,\
73 $(eval
$(call gb_CppunitTest_use_library_objects
,desktop_app
, \
77 ifeq ($(ENABLE_MACOSX_SANDBOX
),TRUE
)
79 $(eval
$(call gb_CppunitTest_use_system_darwin_frameworks
,desktop_app
,\
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: