...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the config_host/config_*.h files will not be included, so the HAVE_* macros will be undefined.) This obsoletes the need for RTL_DISABLE_FAST_STRING. Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# 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/.
|
|
#
|
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,odk_checkapi))
|
|
|
|
$(eval $(call gb_CppunitTest_use_custom_headers,odk_checkapi,\
|
|
odk/allheaders \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,odk_checkapi,\
|
|
odk/qa/checkapi/checkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,odk_checkapi,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_use_internal_comprehensive_api,odk_checkapi,\
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_disable_compiler_plugins,odk_checkapi))
|
|
|
|
$(eval $(call gb_CppunitTest_add_cxxflags,odk_checkapi,\
|
|
$(gb_CXX03FLAGS) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,odk_checkapi,\
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
salhelper \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_external_code,odk_checkapi))
|
|
|
|
# vim: set noet sw=4 ts=4:
|