diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-05-18 16:31:25 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-05-19 09:47:51 +0200 |
commit | 0865f8f8e9e1e0528716242546a61b99c2e3957b (patch) | |
tree | 642d0e6deee90ce01cc5e6ffaf3f0c4012b01bcd /external | |
parent | 4812fe5af6caf4b49c09e986ef741693a24ca174 (diff) |
PCH for libmwaw
Change-Id: Ifa64e7b995e7b9cc576fdc19fb4c8822309a57a1
Reviewed-on: https://gerrit.libreoffice.org/72524
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/libmwaw/Library_mwaw.mk | 2 | ||||
-rw-r--r-- | external/libmwaw/inc/pch/precompiled_mwaw.cxx | 12 | ||||
-rw-r--r-- | external/libmwaw/inc/pch/precompiled_mwaw.hxx | 57 |
3 files changed, 71 insertions, 0 deletions
diff --git a/external/libmwaw/Library_mwaw.mk b/external/libmwaw/Library_mwaw.mk index f9615bf59f81..e74d30dfb7b3 100644 --- a/external/libmwaw/Library_mwaw.mk +++ b/external/libmwaw/Library_mwaw.mk @@ -17,6 +17,8 @@ $(eval $(call gb_Library_use_externals,mwaw,\ $(eval $(call gb_Library_set_warnings_not_errors,mwaw)) +$(eval $(call gb_Library_set_precompiled_header,mwaw,$(SRCDIR)/external/libmwaw/inc/pch/precompiled_mwaw)) + $(eval $(call gb_Library_set_include,mwaw,\ -I$(call gb_UnpackedTarball_get_dir,libmwaw)/inc \ $$(INCLUDE) \ diff --git a/external/libmwaw/inc/pch/precompiled_mwaw.cxx b/external/libmwaw/inc/pch/precompiled_mwaw.cxx new file mode 100644 index 000000000000..b72c8e728d8f --- /dev/null +++ b/external/libmwaw/inc/pch/precompiled_mwaw.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_mwaw.hxx" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/external/libmwaw/inc/pch/precompiled_mwaw.hxx b/external/libmwaw/inc/pch/precompiled_mwaw.hxx new file mode 100644 index 000000000000..02f73c16688b --- /dev/null +++ b/external/libmwaw/inc/pch/precompiled_mwaw.hxx @@ -0,0 +1,57 @@ +/* -*- 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/. + */ + +/* + This file has been autogenerated by update_pch.sh. It is possible to edit it + manually (such as when an include file has been moved/renamed/removed). All such + manual changes will be rewritten by the next run of update_pch.sh (which presumably + also fixes all possible problems, so it's usually better to use it). + + Generated on 2019-05-18 14:37:42 using: + ./bin/update_pch external/libmwaw mwaw --cutoff=1 --exclude:system --include:module --include:local + + If after updating build fails, use the following command to locate conflicting headers: + ./bin/update_pch_bisect .\external/libmwaw\inc\pch\precompiled_mwaw.hxx "make external/libmwaw.build" --find-conflicts +*/ + +#if PCH_LEVEL >= 1 +#include <algorithm> +#include <cmath> +#include <cstdarg> +#include <cstdio> +#include <cstdlib> +#include <cstring> +#include <ctime> +#include <ctype.h> +#include <iomanip> +#include <iostream> +#include <limits> +#include <locale.h> +#include <map> +#include <memory> +#include <set> +#include <sstream> +#include <stack> +#include <string.h> +#include <string> +#include <time.h> +#include <utility> +#include <vector> +#endif // PCH_LEVEL >= 1 +#if PCH_LEVEL >= 2 +#endif // PCH_LEVEL >= 2 +#if PCH_LEVEL >= 3 +#include <libmwaw/libmwaw.hxx> +#include <librevenge-stream/librevenge-stream.h> +#include <librevenge/librevenge.h> +#endif // PCH_LEVEL >= 3 +#if PCH_LEVEL >= 4 +#endif // PCH_LEVEL >= 4 + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |