[CMake] Command line defines

Filipe Sousa natros at gmail.com
Tue Apr 10 14:19:25 EDT 2007


dieter oberkofler wrote:
> Is it possible to set a CMake variable on the CMake command line (-D
> MYVAR:BOOL=ON) without having CMake caching this variable automatically?
> Cheers,
> Dieter
> 

$ cmake -DMYVAR=ON

Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070410/50ae195f/signature.pgp


More information about the CMake mailing list