[CMake] One item from a list?

Alan W. Irwin irwin at beluga.phys.uvic.ca
Wed May 23 16:46:10 EDT 2007


On 2007-05-23 14:39-0600 Gordon.Schumacher at seagate.com wrote:

>
> Forgive me if this is a "dumb n00b" question, but is there a way to
> retrieve a single item from a list in CMake?  I need to parse the
> returned output of EXEC_PROGRAM.

LIST(GET...

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list