[CMake] Passing an equal sign in a list of arguments

Allen D Byrne byrn at hdfgroup.org
Mon May 10 12:14:04 EDT 2010


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