[CMake] Additional testing of bug #4772

Bill Hoffman bill.hoffman at kitware.com
Mon Sep 22 22:08:35 EDT 2008


Alan W. Irwin wrote:

> i.e., the only pattern that gives the correct result is one that does not
> use ENABLE_LANGUAGE.
> 
> I did all the above tests with 2.6.0, but previously I have shown the CVS
> version of CMake had similar problems.
> 

OK, thanks for trying it.


I noticed that you only test with C/CXX.  Does the same thing happen 
with Fortran?  I think some of the C stuff gets initialized by CXX and 
CXX by C.  However, Fortran should for the most part be separate. My 
guess is the fix will go in the Platform directory.  If you have a C 
only project does it create empty CXX vars that are not used?

-Bill


More information about the CMake mailing list