Blender Git Commit Log

Git Commits -> Revision 475ec52

Revision 475ec52 by Ray molenkamp (master)
October 29, 2017, 19:16 (GMT)
CMake: use only absolute linker paths for msvc.

cmake's link_directories will supply forward slashes for the search paths, the msvc linker has some issues with that, while it will search for the needed libs just fine, the incremental linker gets fed forward slashes for some libs, while the previous binary has backward slashes in it's metadata, the linker assumes obj files got added and performs a full link instead of an incremental link. This change brings down the link time with newer msvc versions for a trivial edit down from a few minutes to a few seconds.

Commit Details:

Full Hash: 475ec5269ae8f7c30795c2e771100e087b5dd315
Parent Commit: 6099b26
Lines Changed: +551, -568

1 Deleted Path:

/build_files/cmake/platform/platform_win32_msvc.cmake (+0, -505)

2 Modified Paths:

/build_files/cmake/macros.cmake (+58, -56) (Diff)
/build_files/cmake/platform/platform_win32.cmake (+493, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021