xref: /trunk/main/sc/GoogleTest_sc.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*b77af630Sdamjan###############################################################
2*b77af630Sdamjan#
3*b77af630Sdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*b77af630Sdamjan#  or more contributor license agreements.  See the NOTICE file
5*b77af630Sdamjan#  distributed with this work for additional information
6*b77af630Sdamjan#  regarding copyright ownership.  The ASF licenses this file
7*b77af630Sdamjan#  to you under the Apache License, Version 2.0 (the
8*b77af630Sdamjan#  "License"); you may not use this file except in compliance
9*b77af630Sdamjan#  with the License.  You may obtain a copy of the License at
10*b77af630Sdamjan#
11*b77af630Sdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*b77af630Sdamjan#
13*b77af630Sdamjan#  Unless required by applicable law or agreed to in writing,
14*b77af630Sdamjan#  software distributed under the License is distributed on an
15*b77af630Sdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b77af630Sdamjan#  KIND, either express or implied.  See the License for the
17*b77af630Sdamjan#  specific language governing permissions and limitations
18*b77af630Sdamjan#  under the License.
19*b77af630Sdamjan#
20*b77af630Sdamjan###############################################################
21*b77af630Sdamjan
22*b77af630Sdamjan
23*b77af630Sdamjan$(eval $(call gb_GoogleTest_GoogleTest,sc_stringutil))
24*b77af630Sdamjan
25*b77af630Sdamjan$(eval $(call gb_GoogleTest_add_exception_objects,sc_stringutil, \
26*b77af630Sdamjan    sc/test/main \
27*b77af630Sdamjan    sc/test/stringutiltests \
28*b77af630Sdamjan))
29*b77af630Sdamjan
30*b77af630Sdamjan$(eval $(call gb_GoogleTest_set_include,sc_stringutil,\
31*b77af630Sdamjan        $$(INCLUDE) \
32*b77af630Sdamjan    -I$(SRCDIR)/sc/inc \
33*b77af630Sdamjan    -I$(SRCDIR)/sc/inc/pch \
34*b77af630Sdamjan))
35*b77af630Sdamjan
36*b77af630Sdamjan$(eval $(call gb_GoogleTest_add_linked_libs,sc_stringutil, \
37*b77af630Sdamjan    sal \
38*b77af630Sdamjan    sc \
39*b77af630Sdamjan    stl \
40*b77af630Sdamjan    $(gb_STDLIBS) \
41*b77af630Sdamjan))
42*b77af630Sdamjan
43*b77af630Sdamjan# vim: set noet sw=4 ts=4:
44