[CMake] HowTo 'Getting Started Cross compilation with cmake' needed

David Cole david.cole at kitware.com
Sat Jan 20 10:36:18 EST 2007


On 1/20/07, Claus Klein <claus.klein at arcormail.de> wrote:
>
> As long the dependencies are OK and the makefiles are always new generated
> if I change a cmake Variable, all is OK.
>
> But this is not true for the compiler used!
>
> I noted, that when I change the CMAKE_CXX_COMPILER value, the old compiler
> will be used?
>

You cannot change CMAKE_CXX_COMPILER without deleting the entire binary tree
and starting over. Once the compiler is set, it's set. This is one of the
few cmake variables that you cannot change once it has been set.

HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070120/ac04704f/attachment.html


More information about the CMake mailing list