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 loop only runs once. Any input is appreciated.

  -darby j

--
Darby J Van Uitert
SCI Institute
University of Utah
Email: [EMAIL PROTECTED]
Phone: (301) 528-8469


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to