[cmake-developers] Bug in CMake: Generated Ninja files do not work on Windows

Brad King brad.king at kitware.com
Wed Jun 8 12:46:50 EDT 2016


On 06/08/2016 12:43 PM, Rolf Eike Beer wrote:
>>  Run ranlib on archives only if the tool is available
>>  https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ea598671
> 
> Shouldn't the first check also be "cmd == ":" instead of only
> checking the first byte?

No, because the command in question is actually ": libfoo.a".
No valid command can start in ":" on any platform.

-Brad



More information about the cmake-developers mailing list