[CMake] Infinite loop with cmake-2.8.10.2
Rolf Eike Beer
eike at sf-mail.de
Fri Dec 28 16:29:41 EST 2012
Jed Brown wrote:
> On Fri, Dec 28, 2012 at 2:52 PM, Rolf Eike Beer <eike at sf-mail.de> wrote:
> > Don't specify the compiler like this:
> >
> > CC=clang cmake .
>
> I'm not looking for a work-around [*], I'm looking for the problem to be
> fixed so it stops blowing up in users' faces. The fact is that
> (a) -DCMAKE_C_COMPILER is an established and supported mechanism and (b) an
> infinite loop is *never* acceptable.
I second the part about the infinite loop, but…
> [*] Shitty workaround because you can't change the compiler this way.
> (E.g., run "cmake .", notice that it's not using the compiler you want, so
> run again to fix it.)
Changing the compiler usually will not work anyway. That's why we have
separate build trees: wipe the whole thing and start again.
Eike
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121228/a5a28423/attachment.pgp>
More information about the CMake
mailing list