1*19ee18fdSDamjan Jovanovic#************************************************************** 2*19ee18fdSDamjan Jovanovic# 3*19ee18fdSDamjan Jovanovic# Licensed to the Apache Software Foundation (ASF) under one 4*19ee18fdSDamjan Jovanovic# or more contributor license agreements. See the NOTICE file 5*19ee18fdSDamjan Jovanovic# distributed with this work for additional information 6*19ee18fdSDamjan Jovanovic# regarding copyright ownership. The ASF licenses this file 7*19ee18fdSDamjan Jovanovic# to you under the Apache License, Version 2.0 (the 8*19ee18fdSDamjan Jovanovic# "License"); you may not use this file except in compliance 9*19ee18fdSDamjan Jovanovic# with the License. You may obtain a copy of the License at 10*19ee18fdSDamjan Jovanovic# 11*19ee18fdSDamjan Jovanovic# http://www.apache.org/licenses/LICENSE-2.0 12*19ee18fdSDamjan Jovanovic# 13*19ee18fdSDamjan Jovanovic# Unless required by applicable law or agreed to in writing, 14*19ee18fdSDamjan Jovanovic# software distributed under the License is distributed on an 15*19ee18fdSDamjan Jovanovic# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*19ee18fdSDamjan Jovanovic# KIND, either express or implied. See the License for the 17*19ee18fdSDamjan Jovanovic# specific language governing permissions and limitations 18*19ee18fdSDamjan Jovanovic# under the License. 19*19ee18fdSDamjan Jovanovic# 20*19ee18fdSDamjan Jovanovic#************************************************************** 21*19ee18fdSDamjan Jovanovic 22*19ee18fdSDamjan Jovanovic 23*19ee18fdSDamjan Jovanovic 24*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_Library,test)) 25*19ee18fdSDamjan Jovanovic 26*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_add_package_headers,test,test_inc)) 27*19ee18fdSDamjan Jovanovic 28*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_add_precompiled_header,test,$(SRCDIR)/test/inc/pch/precompiled_test)) 29*19ee18fdSDamjan Jovanovic 30*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_set_include,test,\ 31*19ee18fdSDamjan Jovanovic $$(INCLUDE) \ 32*19ee18fdSDamjan Jovanovic -I$(SRCDIR)/test/inc \ 33*19ee18fdSDamjan Jovanovic -I$(SRCDIR)/test/inc/pch \ 34*19ee18fdSDamjan Jovanovic -I$(SRCDIR)/test/source/cpp \ 35*19ee18fdSDamjan Jovanovic -I$(OUTDIR)/inc \ 36*19ee18fdSDamjan Jovanovic)) 37*19ee18fdSDamjan Jovanovic 38*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_add_api,test, \ 39*19ee18fdSDamjan Jovanovic offapi \ 40*19ee18fdSDamjan Jovanovic udkapi \ 41*19ee18fdSDamjan Jovanovic)) 42*19ee18fdSDamjan Jovanovic 43*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_add_defs,test,\ 44*19ee18fdSDamjan Jovanovic -DOOO_DLLIMPLEMENTATION_TEST \ 45*19ee18fdSDamjan Jovanovic)) 46*19ee18fdSDamjan Jovanovic 47*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_add_linked_libs,test,\ 48*19ee18fdSDamjan Jovanovic cppu \ 49*19ee18fdSDamjan Jovanovic cppuhelper \ 50*19ee18fdSDamjan Jovanovic gtest \ 51*19ee18fdSDamjan Jovanovic sal \ 52*19ee18fdSDamjan Jovanovic stl \ 53*19ee18fdSDamjan Jovanovic $(gb_STDLIBS) \ 54*19ee18fdSDamjan Jovanovic)) 55*19ee18fdSDamjan Jovanovic 56*19ee18fdSDamjan Jovanovic$(eval $(call gb_Library_add_exception_objects,test,\ 57*19ee18fdSDamjan Jovanovic test/source/cpp/getargument \ 58*19ee18fdSDamjan Jovanovic test/source/cpp/gettestargument \ 59*19ee18fdSDamjan Jovanovic test/source/cpp/officeconnection \ 60*19ee18fdSDamjan Jovanovic test/source/cpp/toabsolutefileurl \ 61*19ee18fdSDamjan Jovanovic test/source/cpp/uniquepipename \ 62*19ee18fdSDamjan Jovanovic)) 63*19ee18fdSDamjan Jovanovic 64*19ee18fdSDamjan Jovanovic# vim: set noet sw=4 ts=4: 65