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
) \
56 $(call gb_Helper_optional
,OPENCL
, \
75 $(call gb_Helper_optional
,SCRIPTING
, \
81 $(eval
$(call gb_CppunitTest_set_include
,sc_ucalc
$(1),\
82 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
83 -I
$(SRCDIR
)/sc
/source
/core
/inc \
88 $(eval
$(call gb_CppunitTest_use_api
,sc_ucalc
$(1),\
94 $(eval
$(call gb_CppunitTest_use_custom_headers
,sc_ucalc
$(1),\
98 $(eval
$(call gb_CppunitTest_use_ure
,sc_ucalc
$(1)))
99 $(eval
$(call gb_CppunitTest_use_vcl
,sc_ucalc
$(1)))
101 $(eval
$(call gb_CppunitTest_use_components
,sc_ucalc
$(1),\
102 configmgr
/source
/configmgr \
104 i18npool
/source
/search
/i18nsearch \
105 i18npool
/util
/i18npool \
106 sax
/source
/expatwrap
/expwrap \
107 scaddins
/source
/analysis
/analysis \
108 scaddins
/source
/datefunc
/date \
109 scaddins
/source
/pricing
/pricing \
111 ucb
/source
/core
/ucb1 \
112 ucb
/source
/ucp
/file
/ucpfile1 \
113 unoxml
/source
/service
/unoxml \
118 $(eval
$(call gb_CppunitTest_add_libs
,sc_ucalc
$(1),\
119 $(if
$(filter LINUX
,$(OS
)), \
124 $(eval
$(call gb_CppunitTest_use_configuration
,sc_ucalc
$(1)))
128 # vim: set noet sw=4 ts=4: