On 2007-02-27 16:25-0800 Alan W. Irwin wrote: > I am pretty satisfied with the CMake build system improvements I have just > checked in to substantially refine how we deal with the Ada interface and > examples. Here is what I have done. > > * I have implemented a limited Ada language support for CMake. As a result > of this effort, add_library should now work cross-platform, but > add_executable is not available since it needs a change to the core of CMake > to do the required gnatbind and gnatlink.
Thanks to an idea by Bill Hoffman (a most helpful CMake guru on the CMake mailing list), I now have a working add_executable for the Ada language. There are some constraints on its use, but fundamentally it works (see the revised examples/ada/CMakeLists.txt which is much simpler than the previous custom rule). Note, there was a period of about two hours this morning when -DENABLE_ada=ON gave cmake errors for the CVS version of PLplot, but all should be well now. 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 Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel