[CMake] ADA language
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Wed Jul 18 08:24:54 EDT 2007
On 2007-07-18 11:30+0200 Camek, Alexander wrote:
> Now i have added the ADA language to cmake as my own modules. I added a
CMakeAdaCompiler.cmake.in, a CMakeDetermineAdaCompiler.cmake and a
CMakeAdaInfomation.cmake. I do there the same like in C, because with the
gcc you can compile and link ada files (you do not realy use gnatmake which
also do normally a gcc compile and than a gnatbind and gnatlink).
I agree that gnatmake is not needed to make a library, but it (or the
equivalent combination of gnatbind and gnatlink) is required to make an
executable. These issues are all dealt with in the Ada-related files
at http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/.
> When i do an include of both modules to my main CMakeLists.txt the
compiler is found and all configured. But during build time the tags
<CMAKE_ADA_COMPILER> can not be unbind.
> Any hints?
I am not sure what issue you are referring to here, but I encourage you to
try the above Ada-related files to see whether they have the same issue.
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