summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-07-04 20:02:08 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-12-10 14:46:47 +0100
commitdf1834f2fdd276c5cb669901c2d91e8fe2f1470c (patch)
tree5c17f404d7771913686126391a334469e3bdeada
parentf4cb6f064d225df83f9ccabfcd7e26174577f461 (diff)
testing PCH for connectivity/flat
Change-Id: I164ec06dfb0630784292b39110e1a939d361d98f
-rw-r--r--connectivity/Library_flat.mk3
-rw-r--r--connectivity/inc/pch/precompiled_flat.cxx12
-rw-r--r--connectivity/inc/pch/precompiled_flat.hxx40
3 files changed, 55 insertions, 0 deletions
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 <vector>
+#include <map>
+#include <list>
+#include <set>
+#include <stack>
+#include <iterator>
+#include <memory>
+#include <deque>
+#include <stdio.h>
+#include <stdlib.h>
+#include <limits.h>
+#include <iostream>
+#include <cassert>
+#include <cstdarg>
+#include <sstream>
+#include <boost/shared_ptr.hpp>
+#include <boost/unordered_map.hpp>
+#include <boost/unordered_set.hpp>
+#include <boost/ptr_container/ptr_vector.hpp>
+#include <boost/bind.hpp>
+
+#endif
+
+#endif // PRECOMPILED_FLAT_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */