summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
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.h
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.h')
-rw-r--r--Source/cmMakefile.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index a3f7ec9..1b80959 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -524,12 +524,19 @@ public:
*/
const std::vector<std::string>& GetListFiles() const
{ return this->ListFiles; }
-
///! When the file changes cmake will be re-run from the build system.
void AddCMakeDependFile(const char* file)
{ this->ListFiles.push_back(file);}
/**
+ * Get the vector of files created by this makefile
+ */
+ const std::vector<std::string>& GetOutputFiles() const
+ { return this->OutputFiles; }
+ void AddCMakeOutputFile(const char* file)
+ { this->ListFiles.push_back(file);}
+
+ /**
* Expand all defined variables in the string.
* Defined variables come from the this->Definitions map.
* They are expanded with ${var} where var is the
@@ -709,6 +716,7 @@ protected:
std::vector<std::string> LinkDirectories;
std::vector<std::string> ListFiles; // list of command files loaded
+ std::vector<std::string> OutputFiles; // list of command files loaded
cmTarget::LinkLibraryVectorType LinkLibraries;