On Wednesday 08 August 2007 13:05, Andreas Pakulat wrote:
> On 08.08.07 12:46:56, Philip Lowman wrote:
...
> > Actually, it's more like this:
> >
> > cmake -D USE_FOO=BOOL:ON .
> > or
> > cmake -D USE_FOO=BOOL:OFF .
>
> Not quite, the BOOL: is not needed.

It depends.
If you want it to go in the cache, it is better to use it, then it will go in 
the cache.
If you don't specify the type on the command line, it will go only in the 
cache if the type is specified later on somewhere in the cmake files via a 
SET(... CACHE ...) command.

With cmake cvs it always goes in the cache.

Alex
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to