Blender Git Loki

Git Commits -> Revision cc21388

Revision cc21388 by Sergey Sharybin (master)
March 11, 2016, 09:46 (GMT)
CMake: Avoid call of find_package(Git) for every compile with buildinfo enabled

This is a bit tricky, find_package(Git) was only used to check if git is installed
and actual git command was assumed to be in the PATH (while ideally it should have
been GIT_COMMAND variable).

This commit makes re-compile output cleaner, especially when using Ninja.

Adding proper GIT_COMMAND to buildinfo.cmake is also possible via argument.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D1847

Commit Details:

Full Hash: cc2138888a0219874ca5e25128b7edd54fa296ff
Parent Commit: e7eb913
Lines Changed: +90, -87

2 Modified Paths:

/build_files/cmake/buildinfo.cmake (+83, -87) (Diff)
/CMakeLists.txt (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021