diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-11 08:38:47 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-11 08:41:05 +0100 |
commit | 621b0f29b1fee2ebb318bbaed51d64d67b2fcddc (patch) | |
tree | f031eaf1124afbae2ab9f2fd24c0afd709d147f9 /sw/Library_sw.mk | |
parent | b1ed6678735b30a62ed329e82ea1e7e573e93484 (diff) |
PCH support for Library_sw
With MSVC2010 compile time goes 20 minutes -> 7 minutes. With Clang
it's however 7 minutes -> 10 minutes, apparently the overhead
caused by all the extra data is bigger than the gain.
Diffstat (limited to 'sw/Library_sw.mk')
-rw-r--r-- | sw/Library_sw.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/Library_sw.mk b/sw/Library_sw.mk index 2705b396f4aa..c66cb2680507 100644 --- a/sw/Library_sw.mk +++ b/sw/Library_sw.mk @@ -23,6 +23,8 @@ $(eval $(call gb_Library_add_sdi_headers,sw,sw/sdi/swslots)) $(eval $(call gb_Library_set_componentfile,sw,sw/util/sw)) +$(eval $(call gb_Library_set_precompiled_header,sw,$(SRCDIR)/sw/inc/pch/precompiled_sw)) + $(eval $(call gb_Library_set_include,sw,\ -I$(SRCDIR)/sw/source/core/inc \ -I$(SRCDIR)/sw/source/filter/inc \ |