[CMake] cmake support D programming?

Alan W. Irwin irwin at beluga.phys.uvic.ca
Sat Aug 6 23:00:31 EDT 2011


Hi Jonathan:

I certainly agree with your implicit assumption that D language
support is important for CMake.

On 2011-08-07 03:00+0200 jonathan MERCIER wrote:

> Since Fedora 16 will add a D2 compiler (ldc), i would like to know if
> cmake support yet this language?

As far as I know, not directly, but there is dated CMake language support
for D via third parties.

If you download the stable version of CMake D language support (trunk-r29.zip)
from http://www.dsource.org/projects/cmaked, you will find files
dated 2007-08-28 in that zip.

Werner Smekal of the PLplot project downloaded those in 2009, and we
have updated those files a bit afterwards.  They seem to work for us
even for CMake-2.8.5, but we are not expert enough to answer questions
about those files. (For example, we have changed things by rote
without much understanding of language support under CMake other than
what you can read at cmake-2.8.5/Modules/CMakeAddNewLanguage.txt). 
You will find our versions of those D language support files at

http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/language_support/cmake/
and
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/language_support/cmake/Platform

Ideally, CMake developers will take over these modules at some point
or better yet develop D language support for modern CMake by doing the
necessary minor modifications of the modern C language support they have
already developed.

Same comment about the Ada language support files that are at the same
PLplot location and which also work for us under the same conditions
(mostly by rote with very little understanding).

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