> Does anyone know how to turn a string, such as "one;two;three" into a
> list, so that I can enumerate the elements in a list?
> 
> I want something like:
> 
>       SET(Q "one;two;three")
>       FOREACH(I TO_LIST(Q))
>               ...
>       ENDFOREACH().

Ah, ignore me.  Of course I just expand the string:

        SET(Q "one;two;three")
        FOREACH(I ${Q})
                ...
        ENDFOREACH().
 
Sorry for the noise.
Joe
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to