diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-12-06 20:12:03 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-12-06 20:12:03 +0300 |
commit | 6df2ede3414422372ac3b0b229b401e973b98509 (patch) | |
tree | 66c356a060b4a6c9b9aec40fa2e7e492ee283cb0 /CMakeLists.txt | |
parent | 19a89797c3a37f0e5b8957857536b539e2ea938a (diff) |
Cleanup/Windows: Separate out the MS-CRT into a subfolder
In older versions the ms crt was only a few dlls, in recent versions
this jumped to over 40 leading to quite a bit of clutter in our
bin folder.
This change moves the CRT into its own folder.
For developers that generally already have the runtime globaly
available on their machine, there is a new cmake option
(WITH_WINDOWS_BUNDLE_CRT, default ON) that you can use to toggle
installing the runtime to the blender bin folder, and save some
time during the initial build, this option is off by default for
only the developer profile.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6132
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0af6d200c6e..372fa8fa784 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -508,6 +508,10 @@ if(WIN32) option(WINDOWS_PYTHON_DEBUG "Include the files needed for debugging python scripts with visual studio 2017+." OFF) mark_as_advanced(WINDOWS_PYTHON_DEBUG) + + option(WITH_WINDOWS_BUNDLE_CRT "Bundle the C runtime for install free distribution." ON) + mark_as_advanced(WITH_WINDOWS_BUNDLE_CRT) + endif() # The following only works with the Ninja generator in CMake >= 3.0. |