On 2007-07-18 09:48-0400 Alexander Neundorf wrote:

On Wednesday 18 July 2007 08:43, Camek, Alexander wrote:
Hi,

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.

There I got the same problematic.
If i don't inlude in the main cmakelist.txt the
CMakeDetermineAdaCompiler.cmake, Test and Information files, i get an
internal error. If i include them all is done well during configure time.
But when I want to build the whole I get following error:

Linking ADA executable foo.exe
"C:\Program Files\Cmake 2.4\bin\cmake.exe" -P
CMakeFiles\foo.dir\cmake_clean_targets.cmake C:/MinGW/bin/gnatmake.exe
CMAKE_ADA_LINK_FLAGS foo.adb -cargs  -largs -lmingw32 Gnatmake:
"cmake_ada_link_flags" not found

I think you have to take care that the cases match. If the language is "Ada",
the variable should CMAKE_Ada_LINK_FLAGS etc., for all variables and
filenames.

Good spotting, Alex (N), and I agree with your conclusion.  However, I just
checked, and PLplot uniformly uses CMAKE_Ada_LINK_FLAGS so the above test
must not have been done with the PLplot versions of the Ada files (or
else Alexander (C) had a dirty build tree with leftover stale files in it
from his previous attempt with his own modules).

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
__________________________
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to