[CMake] Passing an equal sign in a list of arguments
Allen D Byrne
byrn at hdfgroup.org
Mon May 10 16:26:02 EDT 2010
I found the answer to my problem in bug 0009214 : -D option can't use value with equals sign
The trick is to qualify the tag with STRING;
"TEST_ARGS:STRING=v;-param1;-parm2=5;--param3"
Everything is working for now.
Allen
> I have a test script where I pass a list of arguments in through a variable - TEST_ARGS. No problems until I need to pass in a parameter with an equal sign:
> "TEST_ARGS=v;-param1;-parm2=5;--param3"
>
> An equal sign anywhere in the list wipes the entire list of arguments and TEST_ARGS is then empty.
> I have tried different ways of escaping, but I have not been successful. Any one have any suggestions
>
More information about the CMake
mailing list