summaryrefslogtreecommitdiffstats
path: root/Source/cmDepends.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-08-16 20:46:33 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-08-17 20:38:38 (GMT)
commit87fe4286bdb3f4faffbc603697b4a6f3343fb4ec (patch)
tree97d5fdc84baaeef5fde418045c008a61125c49fd /Source/cmDepends.h
parentc4306dc8057c45bc5edfd18465f85790800124cd (diff)
downloadCMake-87fe4286bdb3f4faffbc603697b4a6f3343fb4ec.zip
CMake-87fe4286bdb3f4faffbc603697b4a6f3343fb4ec.tar.gz
CMake-87fe4286bdb3f4faffbc603697b4a6f3343fb4ec.tar.bz2
fix #13474: also rescan dependencies if the depender does not exist
If the depender (e.g. foo.o) does not exist, also rescan dependencies if one of the dependees (e.g. foo.cxx) is older than the already existing depend.internal file, since this means it can be out of date. Alex
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r--Source/cmDepends.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h
index 100e187..f7dc881 100644
--- a/Source/cmDepends.h
+++ b/Source/cmDepends.h
@@ -83,6 +83,7 @@ protected:
// Return false if dependencies must be regenerated and true
// otherwise.
virtual bool CheckDependencies(std::istream& internalDepends,
+ const char* internalDependsFileName,
std::map<std::string, DependencyVector>& validDeps);
// Finalize the dependency information for the target.