1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 # template for ucalc tests
15 $(eval
$(call gb_CppunitTest_CppunitTest
,sc_ucalc
$(1)))
17 $(eval
$(call gb_Library_use_common_precompiled_header
,sc_ucalc
$(1)))
19 $(eval
$(call gb_CppunitTest_add_exception_objects
,sc_ucalc
$(1), \
20 sc
/qa
/unit
/ucalc
$(1) \
23 $(eval
$(call gb_CppunitTest_use_library_objects
,sc_ucalc
$(1), \
28 $(eval
$(call gb_CppunitTest_use_externals
,sc_ucalc
$(1),\
30 $(call gb_Helper_optional
,OPENCL
, \
41 $(eval
$(call gb_CppunitTest_use_libraries
,sc_ucalc
$(1), \
42 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
55 $(call gb_Helper_optional
,OPENCL
, \
74 $(call gb_Helper_optional
,SCRIPTING
, \
80 $(eval
$(call gb_CppunitTest_set_include
,sc_ucalc
$(1),\
81 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
82 -I
$(SRCDIR
)/sc
/source
/core
/inc \
87 $(eval
$(call gb_CppunitTest_use_api
,sc_ucalc
$(1),\
93 $(eval
$(call gb_CppunitTest_use_custom_headers
,sc_ucalc
$(1),\
97 $(eval
$(call gb_CppunitTest_use_ure
,sc_ucalc
$(1)))
98 $(eval
$(call gb_CppunitTest_use_vcl
,sc_ucalc
$(1)))
100 $(eval
$(call gb_CppunitTest_use_components
,sc_ucalc
$(1),\
101 configmgr
/source
/configmgr \
103 i18npool
/source
/search
/i18nsearch \
104 i18npool
/util
/i18npool \
105 sax
/source
/expatwrap
/expwrap \
106 scaddins
/source
/analysis
/analysis \
107 scaddins
/source
/datefunc
/date \
108 scaddins
/source
/pricing
/pricing \
110 ucb
/source
/core
/ucb1 \
111 ucb
/source
/ucp
/file
/ucpfile1 \
112 unoxml
/source
/service
/unoxml \
117 $(eval
$(call gb_CppunitTest_add_libs
,sc_ucalc
$(1),\
118 $(if
$(filter LINUX
,$(OS
)), \
123 $(eval
$(call gb_CppunitTest_use_configuration
,sc_ucalc
$(1)))
127 # vim: set noet sw=4 ts=4: