[CMake] Read-Only CMake Variables

Bill Hoffman bill.hoffman at kitware.com
Tue Apr 24 14:47:15 EDT 2007


dfeustel at mindspring.com wrote:
> Is there a way to make CMake variables defined by the SET
> command read-only so that an attempt to redefine the variable
> generates an error?
>   
Only in CVS CMake.  There is a new command VARIABLE_WATCH that could
be used for this.

-Bill



More information about the CMake mailing list