[CMake] -D option and value with equals sign

Gregory Sharp gregsharp.geo at yahoo.com
Sat Jun 27 12:33:58 EDT 2009



Hello,

How can I use the -D option to create a value with an equal sign?
For example:

cmake -Dfoo="bar=baz" -P myscript.cmake

The value does not seem to be transmitted to my script.

Or, is there any better way to transmit strings to my script without
using the -D option?

Thank you,
Greg Sharp
gregsharp at geocities.com


      


More information about the CMake mailing list