ba33189343
And make it simple to disable the whole feature by setting gb_DISABLE_PCH_REUSE=1, just in case. Also work around a possible BOOST_ALL_NO_LIB mismatch when using the common PCH. Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193 Reviewed-on: https://gerrit.libreoffice.org/79365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
51 lines
1.5 KiB
Makefile
51 lines
1.5 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/.
|
|
#
|
|
# This file incorporates work covered by the following license notice:
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed
|
|
# with this work for additional information regarding copyright
|
|
# ownership. The ASF licenses this file to you under the Apache
|
|
# License, Version 2.0 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,date))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,date,scaddins/source/datefunc/date))
|
|
|
|
$(eval $(call gb_Library_set_include,date,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/scaddins/inc \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_external,date,boost_headers))
|
|
|
|
$(eval $(call gb_Library_use_common_precompiled_header,date))
|
|
|
|
$(eval $(call gb_Library_use_internal_comprehensive_api,date,\
|
|
offapi \
|
|
scaddins \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,date,\
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
utl \
|
|
i18nlangtag \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,date,\
|
|
scaddins/source/datefunc/datefunc \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|