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 --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
