From 9c76b2c3b685ffcfaa4d6f28eed14528ea06f745 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Wed, 5 Jun 2019 19:05:16 -0600 Subject: Freestyle: Use precompiled headers with MSVC. This brings down the build time for freestyle with MSVC from a minute to 10-20 seconds. vs2019 bf_freestyle debug before: 60464 ms after: 11028 ms vs2019 bf_freestyle release before: 56984 ms after: 20526 ms Differential Revision: https://developer.blender.org/D2606 Reviewed By: brecht , sergey --- source/blender/freestyle/FRS_precomp.h | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 source/blender/freestyle/FRS_precomp.h (limited to 'source/blender/freestyle/FRS_precomp.h') diff --git a/source/blender/freestyle/FRS_precomp.h b/source/blender/freestyle/FRS_precomp.h new file mode 100644 index 00000000000..6b9abff1446 --- /dev/null +++ b/source/blender/freestyle/FRS_precomp.h @@ -0,0 +1,46 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "intern/python/BPy_BBox.h" +#include "intern/python/BPy_BinaryPredicate0D.h" +#include "intern/python/BPy_BinaryPredicate1D.h" +#include "intern/python/BPy_ContextFunctions.h" +#include "intern/python/BPy_Convert.h" +#include "intern/python/BPy_Freestyle.h" +#include "intern/python/BPy_FrsMaterial.h" +#include "intern/python/BPy_FrsNoise.h" +#include "intern/python/BPy_Id.h" +#include "intern/python/BPy_IntegrationType.h" +#include "intern/python/BPy_Interface0D.h" +#include "intern/python/BPy_Interface1D.h" +#include "intern/python/BPy_Iterator.h" +#include "intern/python/BPy_MediumType.h" +#include "intern/python/BPy_Nature.h" +#include "intern/python/BPy_Operators.h" +#include "intern/python/BPy_SShape.h" +#include "intern/python/BPy_StrokeAttribute.h" +#include "intern/python/BPy_StrokeShader.h" +#include "intern/python/BPy_UnaryFunction0D.h" +#include "intern/python/BPy_UnaryFunction1D.h" +#include "intern/python/BPy_UnaryPredicate0D.h" +#include "intern/python/BPy_UnaryPredicate1D.h" +#include "intern/python/BPy_ViewMap.h" +#include "intern/python/BPy_ViewShape.h" +#include "intern/python/Director.h" -- cgit v1.2.3