Another 'bug' is that you can edit the CMAKE_CXX_COMPILER field in ccmake, but when you run 'c', the field is overwritten again. All very annoying. Maybe a SET( LOCKED ...) flag could be added such that fields are not user editable.

You could enter a bug in the bugtracker if it's not there already.
It's not quite a bug.
The first time ccmake is run the compiler tests are performed and the results are written into the cmakefiles subdir in the build tree, along with relevant cache variables. When you change the compiler, the new one doesn't match the one used to generate the initial info and it gets reset - even though you have told the cache to have a new value. This is an obscure and hard to track down things, but wiping the cmakefiles cache will make it go away.(and this is why you need to wipe the build tree - but you can keep you main cache if you want - and are careful)

JB


--
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to