Re: [CMake] setting a list using the -D option

2006-09-07 Thread Alan W. Irwin
On 2006-09-07 21:44-0400 Darby J Van Uitert wrote: Hello, How do I set the value of a list using the -D option when running cmake? For example, if I want FOO to be a list containing the letters a, b, and c, I thought I would do something like cmake ../src -DFOO:STRING="a b c" I tried this bu

[CMake] setting a list using the -D option

2006-09-07 Thread Darby J Van Uitert
Hello, How do I set the value of a list using the -D option when running cmake? For example, if I want FOO to be a list containing the letters a, b, and c, I thought I would do something like >cmake ../src -DFOO:STRING="a b c" I tried this but then it just treats it as a string and my foreach