2012-07-17 12:30:48 +01:00
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#
|
|
|
|
|
2011-10-18 14:50:21 -04:00
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,basic_scanner))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,basic_scanner, \
|
|
|
|
basic/qa/cppunit/test_scanner \
|
|
|
|
))
|
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_CppunitTest_use_library_objects,basic_scanner,sb))
|
2011-10-18 14:50:21 -04:00
|
|
|
|
|
|
|
# add a list of all needed libraries here
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,basic_scanner, \
|
2011-10-18 14:50:21 -04:00
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
|
|
|
sal \
|
|
|
|
salhelper \
|
|
|
|
sb \
|
|
|
|
sot \
|
|
|
|
svl \
|
|
|
|
svt \
|
|
|
|
tl \
|
|
|
|
utl \
|
|
|
|
vcl \
|
2012-07-06 21:28:03 +01:00
|
|
|
xmlscript \
|
2012-09-26 23:45:28 +02:00
|
|
|
$(gb_UWINAPI) \
|
2011-10-18 14:50:21 -04:00
|
|
|
))
|
|
|
|
|
2011-10-21 16:44:43 +02:00
|
|
|
ifeq ($(GUI),WNT)
|
2012-09-28 15:31:46 +02:00
|
|
|
$(eval $(call gb_CppunitTest_use_system_win32_libs,basic_scanner, \
|
2011-10-21 16:44:43 +02:00
|
|
|
oleaut32 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-10-18 14:50:21 -04:00
|
|
|
$(eval $(call gb_CppunitTest_set_include,basic_scanner,\
|
2012-03-05 19:02:10 +01:00
|
|
|
-I$(SRCDIR)/basic/source/inc \
|
|
|
|
-I$(SRCDIR)/basic/inc \
|
2011-10-18 14:50:21 -04:00
|
|
|
$$(INCLUDE) \
|
|
|
|
))
|