office-gobmx/libcmis/StaticLibrary_cmis.mk
Luboš Luňák 1e5e5c4022 avoid C++11 narrowing conversion error with clang
/home/tinderbox/clang-master-build/solver/unxlngi6/inc/external/boost/uuid/seed_rng.hpp:143:61:
error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing]
            unsigned int rn[] = { std::rand(), std::rand(), std::rand() };

Change-Id: Iea9808492cd3fbcf078e61bbc184bdc434e7cd8a
2012-09-17 13:31:54 +02:00

63 lines
2.4 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_StaticLibrary_StaticLibrary,cmislib))
$(eval $(call gb_StaticLibrary_set_warnings_not_errors,cmislib))
ifeq ($(COM_GCC_IS_CLANG),TRUE)
# Avoid narrowing conversion error (even though the option is technically a warning)
# caused by boost.
$(eval $(call gb_StaticLibrary_add_cxxflags,cmislib,\
-Wno-error=c++11-narrowing \
))
endif
$(eval $(call gb_StaticLibrary_use_unpacked,cmislib,cmis))
$(eval $(call gb_StaticLibrary_use_package,cmislib,libcmis_inc))
$(eval $(call gb_StaticLibrary_use_externals,cmislib,\
curl \
libxml2 \
))
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,cmislib,\
UnpackedTarball/cmis/src/libcmis/allowable-actions \
UnpackedTarball/cmis/src/libcmis/atom-document \
UnpackedTarball/cmis/src/libcmis/atom-folder \
UnpackedTarball/cmis/src/libcmis/atom-object-type \
UnpackedTarball/cmis/src/libcmis/atom-object \
UnpackedTarball/cmis/src/libcmis/atom-session \
UnpackedTarball/cmis/src/libcmis/atom-workspace \
UnpackedTarball/cmis/src/libcmis/base-session \
UnpackedTarball/cmis/src/libcmis/document \
UnpackedTarball/cmis/src/libcmis/folder \
UnpackedTarball/cmis/src/libcmis/object \
UnpackedTarball/cmis/src/libcmis/object-type \
UnpackedTarball/cmis/src/libcmis/property-type \
UnpackedTarball/cmis/src/libcmis/property \
UnpackedTarball/cmis/src/libcmis/repository \
UnpackedTarball/cmis/src/libcmis/session-factory \
UnpackedTarball/cmis/src/libcmis/ws-document \
UnpackedTarball/cmis/src/libcmis/ws-folder \
UnpackedTarball/cmis/src/libcmis/ws-navigationservice \
UnpackedTarball/cmis/src/libcmis/ws-object \
UnpackedTarball/cmis/src/libcmis/ws-object-type \
UnpackedTarball/cmis/src/libcmis/ws-objectservice \
UnpackedTarball/cmis/src/libcmis/ws-relatedmultipart \
UnpackedTarball/cmis/src/libcmis/ws-repositoryservice \
UnpackedTarball/cmis/src/libcmis/ws-requests \
UnpackedTarball/cmis/src/libcmis/ws-session \
UnpackedTarball/cmis/src/libcmis/ws-soap \
UnpackedTarball/cmis/src/libcmis/ws-versioningservice \
UnpackedTarball/cmis/src/libcmis/xml-utils \
))
# vim: set noet sw=4 ts=4: