[Cmake] Advanced variables disappear when set from command line?

Albert Strasheim 13640887 at sun . ac . za
Wed, 26 Nov 2003 17:03:48 +0200


Hello,

On Wed, 26 Nov 2003, Amitha Perera wrote:

> On Wed 26 Nov 2003, Albert Strasheim wrote:
> > [fullung at asok cmake-1.8.1]$ bin/cmake -DCMAKE_BUILD_WX_DIALOG=ON
> 
> That should read
>   bin/cmake -DCMAKE_BUILD_WX_DIALOG:BOOL=ON
> 
> CMake has a concept of variable "type", which is primarily used in the
> CMakeSetup dialogs.

Thanks, I'll try that. However, according to this page:

http://www . cmake . org/HTML/News . html

"CMake Release 1.8 available in Aug, 2003. ... Command line options (-D) 
for cmake no longer require the type of the argument. ..."

What gives?

Cheers,

Albert