no more gbuild loops: break early on nonexistent objects (this commit breaks multi...
[LibreOffice.git] / starmath / CppunitTest_starmath_qa_cppunit.mk
blob0adf9566c2a9e37aeb40cce7880f8c4a7a62399f
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
12 # License.
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,\
32 $$(INCLUDE) \
33 -I$(realpath $(SRCDIR)/starmath/inc) \
34 -I$(realpath $(SRCDIR)/starmath/inc/pch) \
35 -I$(OUTDIR)/inc \
38 $(eval $(call gb_CppunitTest_add_api,starmath_qa_cppunit,\
39 offapi \
40 udkapi \
43 $(eval $(call gb_CppunitTest_set_defs,starmath_qa_cppunit,\
44 $$(DEFS) \
45 -DSMDLL \
48 $(eval $(call gb_CppunitTest_add_library_objects,starmath_qa_cppunit,\
49 sm \
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,\
55 comphelper \
56 cppu \
57 cppuhelper \
58 editeng \
59 i18nisolang1 \
60 i18npaper \
61 sal \
62 sfx \
63 sot \
64 svl \
65 svt \
66 svxcore \
67 svx \
68 tk \
69 tl \
70 utl \
71 vcl \
72 xo \
73 $(gb_STDLIBS) \
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,\
84 types \
87 $(eval $(call gb_CppunitTest_add_service_rdbs,starmath_qa_cppunit,\
88 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: