[CMake] Trouble changing C/C++ compiler, CMake reverts my choice

Sean McBride sean at rogue-research.com
Fri Sep 7 17:27:13 EDT 2007


On 9/7/07 2:10 PM, James Bigler said:

>You can't change the compiler after you configure once in a directory. 
>You need 
>to start with an empty directory.
>
>You can set these values through environment variables or on the
command line:
>
>export CC=mygcc;export CXX=myg++

James,

That works, thanks!  It sure would be great if ccmake explained to the
user that these settings cannot be changed.

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list