[CMake] CMake CVS SET gratuitous semicolon

William A. Hoffman billlist at nycap.rr.com
Wed Feb 15 15:08:22 EST 2006


At 03:02 PM 2/15/2006, Brandon J. Van Every wrote:
>William A. Hoffman wrote:
>>That is expected behavior.   SET(FOO a b c) is the same as SET(FOO a;b;c), it
>>sets FOO to a list of elements.  SET(FOO "a b c") sets FOO to a single element.
>>That being said, I am not exactly sure why we could not expand cmake lists before
>>we write variables into makefiles.  Is there a case where ; would be expected in a
>>variable, what would this break?
>>  
>PATHs on Windows are separated by semicolons.

But would you have a Windows path in a cmake variable that you were expanding at
the command line.

-Bill



More information about the CMake mailing list