Commit: 182da56cd9dbf768c126ff53ac33eb9347db1aff
Author: Ray Molenkamp
Date:   Sat Aug 25 19:40:07 2018 -0600
Branches: master
https://developer.blender.org/rB182da56cd9dbf768c126ff53ac33eb9347db1aff

build_environment: fix build-flags on windows.

build all object files with /bigobj since multiple of the dependencies go over 
the limit on x86

===================================================================

M       build_files/build_environment/cmake/options.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/options.cmake 
b/build_files/build_environment/cmake/options.cmake
index b8efb1bda95..504757fb6ad 100644
--- a/build_files/build_environment/cmake/options.cmake
+++ b/build_files/build_environment/cmake/options.cmake
@@ -59,7 +59,7 @@ if(WIN32)
        if(MSVC_VERSION GREATER 1909)
                set(COMMON_MSVC_FLAGS "/Wv:18") #some deps with warnings as 
error aren't quite ready for dealing with the new 2017 warnings.
        endif()
-
+       set(COMMON_MSVC_FLAGS "${COMMON_MSVC_FLAGS} /bigobj") 
        if(WITH_OPTIMIZED_DEBUG)
                set(BLENDER_CMAKE_C_FLAGS_DEBUG "/MTd ${COMMON_MSVC_FLAGS} /O2 
/Ob2 /DNDEBUG /DPSAPI_VERSION=1 /DOIIO_STATIC_BUILD 
/DTINYFORMAT_ALLOW_WCHAR_STRINGS")
        else()

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to