summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-07-04 19:21:46 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-12-10 14:46:47 +0100
commitf4cb6f064d225df83f9ccabfcd7e26174577f461 (patch)
tree72edbf8c7e4e315e85b0308501d1ab05dbbfc5f7 /connectivity
parentcd4d3d7f4eb90da1843ffd011e7d58f4231d4cd9 (diff)
testing PCH for connectivity/file
Change-Id: Id9083967c67967ea067672b756fa31912af96dcf
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/Library_file.mk3
-rw-r--r--connectivity/inc/pch/precompiled_file.cxx12
-rw-r--r--connectivity/inc/pch/precompiled_file.hxx40
3 files changed, 55 insertions, 0 deletions
diff --git a/connectivity/Library_file.mk b/connectivity/Library_file.mk
index 8ee3d104022d..be39ba29abee 100644
--- a/connectivity/Library_file.mk
+++ b/connectivity/Library_file.mk
@@ -31,10 +31,13 @@ $(eval $(call gb_Library_add_defs,file,\
-DOOO_DLLIMPLEMENTATION_FILE \
))
+$(eval $(call gb_Library_set_precompiled_header,file,$(SRCDIR)/connectivity/inc/pch/precompiled_file))
+
$(eval $(call gb_Library_set_include,file,\
$$(INCLUDE) \
-I$(SRCDIR)/connectivity/inc \
-I$(SRCDIR)/connectivity/source/inc \
+ -I$(SRCDIR)/connectivity/inc/pch \
))
$(eval $(call gb_Library_use_sdk_api,file))
diff --git a/connectivity/inc/pch/precompiled_file.cxx b/connectivity/inc/pch/precompiled_file.cxx
new file mode 100644
index 000000000000..4845c91c4f30
--- /dev/null
+++ b/connectivity/inc/pch/precompiled_file.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_file.hxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/inc/pch/precompiled_file.hxx b/connectivity/inc/pch/precompiled_file.hxx
new file mode 100644
index 000000000000..ba902073deb2
--- /dev/null
+++ b/connectivity/inc/pch/precompiled_file.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_FILE_HXX
+#define PRECOMPILED_FILE_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_FILE_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */