I'm trying to figure out how to use FILE(READ) coupled with some other CMake call to split a text file into multiple lines that ultimately end up in a CMake List.

The goal is to get all of the lines into a CMake list so I can iterate through it with FOREACH() and process each line separately.

I was wondering if anyone has any ideas on how to do this?

--
Philip Lowman
Simulation Development Engineer, Modeling and Simulation Technology
General Dynamics Land Systems
http://www.gdls.com
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to