summaryrefslogtreecommitdiff
path: root/pch/Module_pch.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-09-22 12:13:42 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-10-04 08:58:52 +0200
commit08d02b550a1aee0e109334384c260244d450d6a0 (patch)
tree8e38df99a4a1163a6f294381925e11a233662889 /pch/Module_pch.mk
parentfd90ad734a931ddfdff4df9bfcf10f12a87b0286 (diff)
add "system" PCH that contains often used system headers such as STL
The idea is that this PCH will be used as a fallback for linktargets that do not explicitly set their own PCH. Change-Id: If05d3f04893a386e5d991f913e094f49249c8f44 Reviewed-on: https://gerrit.libreoffice.org/79363 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'pch/Module_pch.mk')
-rw-r--r--pch/Module_pch.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/pch/Module_pch.mk b/pch/Module_pch.mk
new file mode 100644
index 000000000000..85bedb503afa
--- /dev/null
+++ b/pch/Module_pch.mk
@@ -0,0 +1,26 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# 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/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Module_Module,pch))
+
+$(eval $(call gb_Module_add_targets,pch,\
+ StaticLibrary_precompiled_system \
+))
+
+# vim: set noet sw=4 ts=4: