[CMake] Setting compiler for cmake

outro pessoa outro.pessoa at gmail.com
Fri Oct 4 15:03:10 EDT 2013


No. In the $PROJECT/CMakeFiles/2. 8.10.2

CMakeCCompiler.cmake 2 KB 10/01/13 03:42:34 [image: File:]
CMakeCXXCompiler.cmake 2 KB 10/01/13 03:42:35 [image: File:]
CMakeDetermineCompilerABI_C.bin 6 KB 10/01/13 03:42:34 [image: File:]
CMakeDetermineCompilerABI_CXX.bin 6 KB 10/01/13 03:42:35 [image: File:]
CMakeSystem.cmake 1 KB 10/01/13 03:42:31 CompilerIdC
10/01/13 03:42:32 CompilerIdCXX

Sooner than later, we will need to see what and what does not build with
clang. I have 2 version numbers: 3.2 & 3.3










On Fri, Oct 4, 2013 at 6:40 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:

> outro pessoa <outro.pessoa at gmail.com>
> writes:
>
> > If I edit the file to use clang as the compiler instead of gcc, will the
> > version number be necessary or can I skip that? The libraries are for 3.2
> > and 3.3.
>
> Do you mean something like:
>
> cmake -DCAMKE_C_COMPILER=clang-3.3 .....
>
> ?
>
> The version number there helps when you have more than one version of
> clang installed. Otherwise, you can omit it.
>
> BTW, please send this type of questions only to the user's list.
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131004/a688e718/attachment.htm>


More information about the CMake mailing list