diff options
author | Brad King <brad.king@kitware.com> | 2008-08-05 17:27:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-08-05 17:27:01 (GMT) |
commit | d800910efd5c59e25ba0026a14642e0b99b237f6 (patch) | |
tree | 90fa7fb7b426d30dbec364eb6a3dfa408c1588a1 /Source/cmSourceFileLocation.h | |
parent | d35b5a2fb1159dbdfea46961df522ccf21e3e373 (diff) | |
download | CMake-d800910efd5c59e25ba0026a14642e0b99b237f6.zip CMake-d800910efd5c59e25ba0026a14642e0b99b237f6.tar.gz CMake-d800910efd5c59e25ba0026a14642e0b99b237f6.tar.bz2 |
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.
Diffstat (limited to 'Source/cmSourceFileLocation.h')
-rw-r--r-- | Source/cmSourceFileLocation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h index c14b2fa..3ee528a 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); |