[CMake] two more problems with dependencies

Brad King brad.king at kitware.com
Thu Jan 5 16:52:29 EST 2006


Alexander Neundorf wrote:
>      // Get the file being included. 
>       UnscannedEntry entry; 
>       entry.FileName = m_IncludeRegexLine.match(1); 
>       if(m_IncludeRegexLine.match(2) == "\"") 
>         { 
>         // This was a double-quoted include.  We must check for the 
>         // file in the directory containing the file we are scanning. 
>         entry.QuotedLocation = directory; 
>         entry.QuotedLocation += "/"; 
>         entry.QuotedLocation += entry.FileName; 
>         } 
>  
> which does not check and so generates a wrong QuotedLocation 
> (as can be seen in the cache contents includecache.CXX). Which at least 
> isn't completely correct. 

The fix for this should be just to not set QuotedLocation at all if the 
file is included with a full path.  I'll make this change.

-Brad


More information about the CMake mailing list