1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_StaticLibrary_StaticLibrary
,boost_date_time
))
12 $(eval
$(call gb_StaticLibrary_use_unpacked
,boost_date_time
,boost
))
14 $(eval
$(call gb_StaticLibrary_set_warnings_disabled
,boost_date_time
))
16 # disable "auto link" "feature" on MSVC
17 $(eval
$(call gb_StaticLibrary_add_defs
,boost_date_time
,\
21 # Needed when building against MSVC in C++17 mode, as
22 # workdir/UnpackedTarball/boost/boost/numeric/conversion/detail/converter.hpp uses
23 # std::unary_function:
24 $(eval
$(call gb_StaticLibrary_add_defs
,boost_date_time
, \
25 -D_HAS_AUTO_PTR_ETC
=1 \
28 $(eval
$(call gb_StaticLibrary_use_external
,boost_date_time
,boost_headers
))
30 $(eval
$(call gb_StaticLibrary_set_generated_cxx_suffix
,boost_date_time
,cpp))
32 $(eval
$(call gb_StaticLibrary_add_generated_exception_objects
,boost_date_time
,\
33 UnpackedTarball
/boost
/libs
/date_time
/src
/gregorian
/gregorian_types \
34 UnpackedTarball
/boost
/libs
/date_time
/src
/gregorian
/greg_month \
37 # vim: set noet sw=4 ts=4: