summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-10 17:53:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-10 17:53:00 (GMT)
commit8c06f8e2943c1d3726428ea01ba6bc5b49101081 (patch)
treeab6b7ed577382b8a61d8f63e95e3a67807f32cd3 /Source/cmMakefile.cxx
parent3df8a59374aac7810520e59c48818d86708f27ac (diff)
downloadCMake-8c06f8e2943c1d3726428ea01ba6bc5b49101081.zip
CMake-8c06f8e2943c1d3726428ea01ba6bc5b49101081.tar.gz
CMake-8c06f8e2943c1d3726428ea01ba6bc5b49101081.tar.bz2
ENH: add support for re-running cmake if the cmakefiles change
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 4c23683..7e434cf 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2368,6 +2368,7 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
std::string soutfile = outfile;
std::string sinfile = infile;
this->AddCMakeDependFile(infile);
+ this->AddCMakeOutputFile(outfile);
cmSystemTools::ConvertToUnixSlashes(soutfile);
mode_t perm = 0;
cmSystemTools::GetPermissions(sinfile.c_str(), perm);