[CMake] Removing an option created with OPTION?

Anton Deguet anton.deguet at jhu.edu
Fri Sep 7 14:52:34 EDT 2007


Hello,

I have a build designed to show new options based on the user's  
choice.  E.g. when the user decides to compile the examples, a long  
list of possible examples to compile appears with an ON/OFF choice.   
Now when the user decides to not compile the examples, the list of  
options created with the cmake command "OPTION" still appears.   That  
make sense as this variables are still in the cache.  Is there any  
way to remove these options automatically and "un-clutter" the cmake  
UI (using ccmake or cmakesetup)?

Thanks,

Anton


---
Anton Deguet, Research Engineer, ERC-CISST, Johns Hopkins University
anton.deguet at jhu.edu, Office: 410-516-5261, Cell: 410-790-0456
iChat only: anton.deguet at mac.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070907/5c1cbdec/attachment.html


More information about the CMake mailing list