On 2009-05-11 10:19-0700 Alan W. Irwin wrote: > Finally, I should note that if you don't like the pkg-config approach to > deliver the build information you need in the installed examples tree there > is another good possibility which is to store the needed compile and link > information for library targets in a CMake export file using the > INSTALL(EXPORT... cmake command. Then a tiny CMake project which simply > included those files and which configured the required add_executable for > each example with a foreach loop would be all that was required to build the > examples. > > My attention was drawn to this possibility recently on the CMake list so I > thought I would share it here, but I know nothing more about this then what > I read in the cmake documentation. I don't have plans to do this myself, > but if somebody else is interested I would certainly encourage the effort > from the side-lines and also I would be happy to test the implementation of > such a CMake-based approach to building our installed examples on Linux.
One additional piece of information.... There was a report from Brad King on the CMake list just a few minutes ago that using imported libraries in the suggested way didn't work quite correctly for CMake-2.6.3 and below, but this bug has been fixed for CMake-2.6.4. 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 __________________________ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
