diff --git a/connectivity/Library_flat.mk b/connectivity/Library_flat.mk index 23e91174431b..1a78e3956fc5 100644 --- a/connectivity/Library_flat.mk +++ b/connectivity/Library_flat.mk @@ -31,10 +31,13 @@ $(eval $(call gb_Library_set_componentfile,flat,connectivity/source/drivers/flat $(eval $(call gb_Library_use_sdk_api,flat)) +$(eval $(call gb_Library_set_precompiled_header,flat,$(SRCDIR)/connectivity/inc/pch/precompiled_flat)) + $(eval $(call gb_Library_set_include,flat,\ $$(INCLUDE) \ -I$(SRCDIR)/connectivity/inc \ -I$(SRCDIR)/connectivity/source/inc \ + -I$(SRCDIR)/connectivity/inc/pch \ )) $(eval $(call gb_Library_use_libraries,flat,\ diff --git a/connectivity/inc/pch/precompiled_flat.cxx b/connectivity/inc/pch/precompiled_flat.cxx new file mode 100644 index 000000000000..474aa00da275 --- /dev/null +++ b/connectivity/inc/pch/precompiled_flat.cxx @@ -0,0 +1,12 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#include "precompiled_flat.hxx" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/inc/pch/precompiled_flat.hxx b/connectivity/inc/pch/precompiled_flat.hxx new file mode 100644 index 000000000000..772f52fdf6f5 --- /dev/null +++ b/connectivity/inc/pch/precompiled_flat.hxx @@ -0,0 +1,40 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef PRECOMPILED_FLAT_HXX +#define PRECOMPILED_FLAT_HXX + +#ifdef PRECOMPILED_HEADERS + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif + +#endif // PRECOMPILED_FLAT_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */