diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-01-11 22:18:34 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-01-11 22:18:58 +0300 |
commit | 259a71cd3c06a258d5795e1a1529db4f687dcd93 (patch) | |
tree | d3af6eca7e27033e5438756d47c2fae16e1b067a /source/blender/freestyle/FRS_precomp.cpp | |
parent | 8cff1ecf9fd5aad79c695de0532cc399b66874a6 (diff) |
Build: use precompiled headers on all platforms
Since CMake 3.16, CMake has native precompiled header (PCH) support.
This change swaps Blender's own PCH implementation with the native implementation.
Previously, PCH was only enabled on Windows however,
this new implementation works on all platforms.
For more information see https://cmake.org/cmake/help/latest/command/target_precompile_headers.html
On my system, Linux with ninja running on an i5 8250U
I saw a 60% reduction in compile times for `bf_freestyle` + linking time.
Reviewed By: LazyDodo, brecht
Differential Revision: https://developer.blender.org/D13797
Diffstat (limited to 'source/blender/freestyle/FRS_precomp.cpp')
-rw-r--r-- | source/blender/freestyle/FRS_precomp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/freestyle/FRS_precomp.cpp b/source/blender/freestyle/FRS_precomp.cpp deleted file mode 100644 index 7e50a47f45b..00000000000 --- a/source/blender/freestyle/FRS_precomp.cpp +++ /dev/null @@ -1,2 +0,0 @@ -/* Pre-compiled headers, see: D2606. */ -#include "FRS_precomp.h" |