From df1834f2fdd276c5cb669901c2d91e8fe2f1470c Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 4 Jul 2012 20:02:08 +0200 Subject: testing PCH for connectivity/flat Change-Id: I164ec06dfb0630784292b39110e1a939d361d98f --- connectivity/Library_flat.mk | 3 +++ connectivity/inc/pch/precompiled_flat.cxx | 12 ++++++++++ connectivity/inc/pch/precompiled_flat.hxx | 40 +++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 connectivity/inc/pch/precompiled_flat.cxx create mode 100644 connectivity/inc/pch/precompiled_flat.hxx 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: */ -- cgit