1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # The Initial Developer of the Original Code is
15 # David Tardon, Red Hat Inc. <dtardon@redhat.com>
16 # Portions created by the Initial Developer are Copyright (C) 2010 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval
$(call gb_CppunitTest_CppunitTest
,starmath_qa_cppunit
))
31 $(eval
$(call gb_CppunitTest_set_include
,starmath_qa_cppunit
,\
33 -I
$(realpath
$(SRCDIR
)/starmath
/inc
) \
34 -I
$(realpath
$(SRCDIR
)/starmath
/inc
/pch
) \
38 $(eval
$(call gb_CppunitTest_add_api
,starmath_qa_cppunit
,\
43 $(eval
$(call gb_CppunitTest_set_defs
,starmath_qa_cppunit
,\
48 $(eval
$(call gb_CppunitTest_add_library_objects
,starmath_qa_cppunit
,\
52 $(call gb_CxxObject_get_target
,starmath
/qa
/cppunit
/test_starmath
): $(WORKDIR
)/AllLangRes
/sm
54 $(eval
$(call gb_CppunitTest_add_linked_libs
,starmath_qa_cppunit
,\
76 $(eval
$(call gb_CppunitTest_add_exception_objects
,starmath_qa_cppunit
,\
77 starmath
/qa
/cppunit
/test_nodetotextvisitors \
78 starmath
/qa
/cppunit
/test_starmath \
81 $(eval
$(call gb_CppunitTest_uses_ure
,starmath_qa_cppunit
))
83 $(eval
$(call gb_CppunitTest_add_type_rdbs
,starmath_qa_cppunit
,\
87 $(eval
$(call gb_CppunitTest_add_service_rdbs
,starmath_qa_cppunit
,\
91 $(eval
$(call gb_CppunitTest_set_args
,starmath_qa_cppunit
,\
92 --protector unoexceptionprotector
$(gb_Library_DLLEXT
) unoexceptionprotector \
95 # vim: set noet sw=4 ts=4: