Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-06-06 04:05:16 +0300
committerRay Molenkamp <github@lazydodo.com>2019-06-06 04:05:16 +0300
commit9c76b2c3b685ffcfaa4d6f28eed14528ea06f745 (patch)
treeb344241f8cd85e1aab4fb352e45843c816386df0 /source/blender/freestyle/CMakeLists.txt
parent8b2b79c2108b6ef94247b14f68710b7cbee42aec (diff)
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
Diffstat (limited to 'source/blender/freestyle/CMakeLists.txt')
-rw-r--r--source/blender/freestyle/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/CMakeLists.txt b/source/blender/freestyle/CMakeLists.txt
index e6e72ea01db..253fcecc81c 100644
--- a/source/blender/freestyle/CMakeLists.txt
+++ b/source/blender/freestyle/CMakeLists.txt
@@ -586,3 +586,4 @@ if(WIN32)
endif()
blender_add_lib(bf_freestyle "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
+blender_precompile_headers(bf_freestyle FRS_precomp.cpp FRS_precomp.h)