summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubos Lunak <l.lunak@suse.cz>2012-12-26 22:13:55 +0100
committerLubos Lunak <l.lunak@suse.cz>2012-12-26 22:32:39 +0100
commit13e3a3e5525f196affc6bc7a1abbcb7323eaa9c3 (patch)
tree9ae218eede43b1541810dab91d222e29d29f5927
parente36f556026defbc88b1a5a4400130cd753a46148 (diff)
PCH for Library_sal
-rw-r--r--sal/Library_sal.mk2
-rw-r--r--sal/inc/pch/precompiled_sal.cxx12
-rw-r--r--sal/inc/pch/precompiled_sal.hxx31
3 files changed, 45 insertions, 0 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 80dc9edfe02b..dbcd042d4919 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -29,6 +29,8 @@ $(eval $(call gb_Library_Library,sal))
$(eval $(call gb_Library_set_soversion_script,sal,3,$(SRCDIR)/sal/util/sal.map))
+$(eval $(call gb_Library_set_precompiled_header,sal,$(SRCDIR)/sal/inc/pch/precompiled_sal))
+
$(eval $(call gb_Library_use_packages,sal,\
sal_generated \
sal_inc \
diff --git a/sal/inc/pch/precompiled_sal.cxx b/sal/inc/pch/precompiled_sal.cxx
new file mode 100644
index 000000000000..5386a69d778e
--- /dev/null
+++ b/sal/inc/pch/precompiled_sal.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_sal.hxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx
new file mode 100644
index 000000000000..54ddb4e84234
--- /dev/null
+++ b/sal/inc/pch/precompiled_sal.hxx
@@ -0,0 +1,31 @@
+/* -*- 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 "boost/bind.hpp"
+#include "boost/noncopyable.hpp"
+#include <algorithm>
+#include <boost/unordered_map.hpp>
+#include <cassert>
+#include <cstdarg>
+#include <cstddef>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <deque>
+#include <float.h>
+#include <functional>
+#include <limits.h>
+#include <list>
+#include <sstream>
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <vector>
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */