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 # template for functions tests
11 define sc_functions_test
13 $(eval
$(call gb_CppunitTest_CppunitTest
,sc_
$(1)_functions_test
))
15 $(eval
$(call gb_CppunitTest_use_common_precompiled_header
,sc_
$(1)_functions_test
))
17 $(eval
$(call gb_CppunitTest_add_exception_objects
,sc_
$(1)_functions_test
, \
18 sc
/qa
/unit
/functions_
$(1) \
21 $(eval
$(call gb_CppunitTest_use_externals
,sc_
$(1)_functions_test
, \
27 $(eval
$(call gb_CppunitTest_use_libraries
,sc_
$(1)_functions_test
, \
61 $(eval
$(call gb_CppunitTest_set_include
,sc_
$(1)_functions_test
,\
62 -I
$(SRCDIR
)/sc
/source
/ui
/inc \
67 $(eval
$(call gb_CppunitTest_use_api
,sc_
$(1)_functions_test
,\
73 $(eval
$(call gb_CppunitTest_use_ure
,sc_
$(1)_functions_test
))
75 $(eval
$(call gb_CppunitTest_use_vcl
,sc_
$(1)_functions_test
))
77 $(eval
$(call gb_CppunitTest_use_rdb
,sc_
$(1)_functions_test
,services
))
79 $(eval
$(call gb_CppunitTest_use_configuration
,sc_
$(1)_functions_test
))
83 # vim: set noet sw=4 ts=4: