[CMake] Infinite loop with cmake-2.8.10.2
Rolf Eike Beer
eike at sf-mail.de
Fri Dec 28 15:52:37 EST 2012
Jed Brown wrote:
> $ echo 'project (Test C)' > CMakeLists.txt
> $ cmake -DCMAKE_C_COMPILER:FILEPATH=clang .
> -- The C compiler identification is Clang 3.1.0
> -- Check for working C compiler: /usr/bin/clang
> -- Check for working C compiler: /usr/bin/clang -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/jed/foo
>
> Cool, what happens when we re-run the same command?
Don't specify the compiler like this:
CC=clang cmake .
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/5034eff9/attachment.pgp>
More information about the CMake
mailing list