summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-07-02 14:24:05 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-12-10 14:46:45 +0100
commit6a71f121bd4b1ab5567fdb07a048715c4fd38097 (patch)
treeb9eb4752ddc3d38d6a44320fab24ed052fb01700 /xmloff
parentef4df30063e4674857a730a51c9689997ba8d9f6 (diff)
xmloff precompiled headers
Change-Id: Iae5ec6d6af8ebfa38f560dddc5a93a0386772f4d
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/Library_xo.mk3
-rw-r--r--xmloff/inc/pch/precompiled_xmloff.cxx12
-rw-r--r--xmloff/inc/pch/precompiled_xmloff.hxx45
3 files changed, 60 insertions, 0 deletions
diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index 4c653db00293..89ccb206e1de 100644
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -23,7 +23,10 @@ $(eval $(call gb_Library_set_componentfile,xo,xmloff/util/xo))
$(eval $(call gb_Library_use_package,xo,xmloff_inc))
+$(eval $(call gb_Library_add_precompiled_header,xo,$(SRCDIR)/xmloff/inc/pch/precompiled_xmloff))
+
$(eval $(call gb_Library_set_include,xo,\
+ -I$(SRCDIR)/xmloff/inc/pch \
-I$(SRCDIR)/xmloff/inc \
$$(INCLUDE) \
))
diff --git a/xmloff/inc/pch/precompiled_xmloff.cxx b/xmloff/inc/pch/precompiled_xmloff.cxx
new file mode 100644
index 000000000000..b9a0df6a1a0b
--- /dev/null
+++ b/xmloff/inc/pch/precompiled_xmloff.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_xmloff.hxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/inc/pch/precompiled_xmloff.hxx b/xmloff/inc/pch/precompiled_xmloff.hxx
new file mode 100644
index 000000000000..66bd46e7d610
--- /dev/null
+++ b/xmloff/inc/pch/precompiled_xmloff.hxx
@@ -0,0 +1,45 @@
+/* -*- 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/.
+ */
+
+#ifdef PRECOMPILED_HEADERS
+
+#include <iostream>
+#include <sstream>
+#include <vector>
+#include <map>
+#include <list>
+#include <stack>
+#include <set>
+#include <queue>
+#include <algorithm>
+#include <cstdlib>
+#include <cstdio>
+#include <cmath>
+#include <boost/utility.hpp>
+#include <boost/shared_ptr.hpp>
+#include <boost/smart_ptr.hpp>
+#include <boost/unordered_map.hpp>
+#include <boost/bind.hpp>
+#include <boost/compressed_pair.hpp>
+#include <boost/concept_check.hpp>
+#include <boost/iterator.hpp>
+#include <boost/mem_fn.hpp>
+#include <boost/limits.hpp>
+#include <boost/noncopyable.hpp>
+#include <boost/none.hpp>
+#include <boost/optional.hpp>
+#include <boost/ptr_container/ptr_set.hpp>
+#include <boost/ptr_container/ptr_vector.hpp>
+#include <boost/scoped_ptr.hpp>
+#include <boost/scoped_array.hpp>
+#include <boost/type.hpp>
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */