MantisBT - CMake
View Issue Details
0003971CMakeCMakepublic2006-10-24 07:372016-06-10 14:30
peter soetens 
Brad King 
urgentminorN/A
closedmoved 
 
 
0003971: 'ccmake' allows user to edit fields which get overwritten anyway
A classical usecase is that the user runs 'ccmake',toggles some options or modifies some variables.

The CMAKE_CC_COMPILER and CMAKE_CXX_COMPILER variables are however ignored and reset to the first values. A 'SET' flag may be needed to tag a variable (or option) to be unmodifyable by the user
(e.g. 'CALCULATED') such that editing this variable is no longer possible in the GUI.

See URL for a discussion on the cmake list.
See also <http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools> [^]
for the Wiki entry documenting this bug.
No tags attached.
Issue History
2007-08-28 15:39Zack GalbreathProjectSOViewer => CMake
2007-08-28 15:40Zack GalbreathAssigned ToWill Schroeder => Brad King
2007-08-28 15:40Zack GalbreathSeverityfeature => minor
2007-08-28 15:40Zack GalbreathReproducibilityunable to reproduce => N/A
2007-08-28 15:40Zack GalbreathStatusnew => assigned
2007-08-28 15:40Zack GalbreathResolutionunable to reproduce => open
2007-08-28 15:40Zack GalbreathCategoryCPack => CMake
2007-08-28 15:40Zack GalbreathSummaryGoodsite => 'ccmake' allows user to edit fields which get overwritten anyway
2007-08-28 15:40Zack GalbreathNote Deleted: 0008180
2012-08-13 10:37Brad KingStatusassigned => backlog
2012-08-13 10:37Brad KingNote Added: 0030545
2016-06-10 14:27Kitware RobotNote Added: 0041325
2016-06-10 14:27Kitware RobotStatusbacklog => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0005515)
Bill Hoffman   
2006-10-24 10:07   
This is not a bug with ccmake, but rather the cmakelist files. If you set the variable to INTERNAL it will no longer be able to be edited by the ccmake or CMakeSetup. The compilers should be like that but are not right now....
(0005518)
peter soetens   
2006-10-24 10:33   
'INTERNAL' is not a solution because it does not allow the user to view which compiler has been automatically selected.
(0030545)
Brad King   
2012-08-13 10:37   
Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0041325)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.