[CMake] CMake 2.8.6 --> 2.8.8 New TryCompile Fails on GCC-GNAT Ada Linking

Brad King brad.king at kitware.com
Thu Jul 5 15:57:22 EDT 2012


On 7/2/2012 12:25 PM, Matthew Schuchard wrote:
> The executable name does in fact have to match the name of the source file.
> I could get into details, but the short summary is that gcc-gnat is a 
> very headache-inducing compiler with poorly conceived input/output file 
> behavior and arguments.

The change in question is here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4fbdce2b

It was done to try to work around problems on Windows tools and
filesystems.  You can try hacking the change further to test a
platform variable so it can be disabled for Ada tools.  If you
get it working we can put that change upstream.

-Brad


More information about the CMake mailing list