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
) \
54 $(call gb_Helper_optional
,OPENCL
, \
72 $(call gb_Helper_optional
,SCRIPTING
, \
78 $(eval
$(call gb_CppunitTest_set_include
,sc_ucalc
$(1),\
79 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
80 -I
$(SRCDIR
)/sc
/source
/core
/inc \
85 $(eval
$(call gb_CppunitTest_use_api
,sc_ucalc
$(1),\
91 $(eval
$(call gb_CppunitTest_use_custom_headers
,sc_ucalc
$(1),\
95 $(eval
$(call gb_CppunitTest_use_ure
,sc_ucalc
$(1)))
96 $(eval
$(call gb_CppunitTest_use_vcl
,sc_ucalc
$(1)))
98 $(eval
$(call gb_CppunitTest_use_components
,sc_ucalc
$(1),\
99 configmgr
/source
/configmgr \
101 i18npool
/source
/search
/i18nsearch \
102 i18npool
/util
/i18npool \
103 sax
/source
/expatwrap
/expwrap \
104 scaddins
/source
/analysis
/analysis \
105 scaddins
/source
/datefunc
/date \
106 scaddins
/source
/pricing
/pricing \
108 ucb
/source
/core
/ucb1 \
109 ucb
/source
/ucp
/file
/ucpfile1 \
110 unoxml
/source
/service
/unoxml \
115 $(eval
$(call gb_CppunitTest_add_libs
,sc_ucalc
$(1),\
116 $(if
$(filter LINUX
,$(OS
)), \
121 $(eval
$(call gb_CppunitTest_use_configuration
,sc_ucalc
$(1)))
125 # vim: set noet sw=4 ts=4: