summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2014-02-09 02:35:52 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-04-29 01:43:39 (GMT)
commit10baf00f3d14124ee97ca12510595501d66ed70e (patch)
treeb12c416c4ae485eae2e35c2e7c33daa06ebdebba /Source/cmSourceFile.h
parent14e7a8ae1c8be09a58156d71b185e2b98d378a07 (diff)
downloadCMake-10baf00f3d14124ee97ca12510595501d66ed70e.zip
CMake-10baf00f3d14124ee97ca12510595501d66ed70e.tar.gz
CMake-10baf00f3d14124ee97ca12510595501d66ed70e.tar.bz2
cmSourceFile: Cache the isUiFile check
The filename extension call is expensive, so cache the .ui check.
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index a1d9de1..42d6f8a 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -109,6 +109,7 @@ private:
std::string FullPath;
bool FindFullPathFailed;
std::string ObjectLibrary;
+ bool IsUiFile;
bool FindFullPath(std::string* error);
bool TryFullPath(const std::string& path, const std::string& ext);