From d800910efd5c59e25ba0026a14642e0b99b237f6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 5 Aug 2008 13:27:01 -0400 Subject: BUG: Fix matching of ambiguous sf extensions. A name with an ambiguous extension may only match an unambiguous name that is extended by one of the fixed set of extensions tried when finding the source file on disk. This rule makes matching of source files with ambiguous extensions much less aggressive but still sufficient. --- Source/cmSourceFileLocation.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmSourceFileLocation.h') diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h index c14b2fa84b..3ee528aa81 100644 --- a/Source/cmSourceFileLocation.h +++ b/Source/cmSourceFileLocation.h @@ -94,6 +94,8 @@ private: std::string Directory; std::string Name; + bool MatchesAmbiguousExtension(cmSourceFileLocation const& loc) const; + // Update the location with additional knowledge. void Update(cmSourceFileLocation const& loc); void Update(const char* name); -- cgit v1.2.1