<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Perhaps we could check the value of <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">CMAKE_GENERATOR and add the flag for Ninja only, since it seems to be the exception. If we start to need this change for multiple generators, we can try come up with a more general solution. I don't see an obvious general solution though, having looked at </span><a href="http://www.cmake.org/Wiki/CMake_Useful_Variables">http://www.cmake.org/Wiki/CMake_Useful_Variables</a>.<div><br></div><div>Tom<br><div><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="font-size: 13px; line-height: 19px; "><br></span></font><div><div>On 07/05/2012, at 11:20 PM, Rafael Espíndola wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><blockquote type="cite">seemed to work for me for both values. Can you double check it doesn't work for you when toggling CMAKE_COLOR_MAKEFILE between OFF and ON?<br></blockquote><br>OK, I found the problem. CMAKE_COLOR_MAKEFILE is only defined when<br>producing Makefiles, so it fails with -G Ninja. In there a way to<br>check what is the build file format cmake is generating?<br><br><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tom<br></blockquote><br>Cheers,<br>Rafael<br><br></div></blockquote></div><br></div></div></body></html>