diff options
author | Brad King <brad.king@kitware.com> | 2009-07-24 13:31:34 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-24 13:31:34 -0400 |
commit | 71c0e1417bdc42fbcc48986c7cb7c26642c1f665 (patch) | |
tree | e42517cc97b5977fa69bd1f4ad58f999ba929cc4 /Source/cmLoadCommandCommand.cxx | |
parent | 071ce33ec98fd6eac3345d23de76822643611083 (diff) | |
download | cmake-71c0e1417bdc42fbcc48986c7cb7c26642c1f665.tar.gz |
ENH: Keep only FinalPass commands in memory
In cmMakefile we save all invoked commands so that FinalPass can be
called on them later. Most commands have no final pass, so we should
keep only the few that do.
Diffstat (limited to 'Source/cmLoadCommandCommand.cxx')
-rw-r--r-- | Source/cmLoadCommandCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index fe67443425..218a1fcca2 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -68,6 +68,8 @@ public: * writing to the cache can be done. */ virtual void FinalPass(); + virtual bool HasFinalPass() const + { return this->info.FinalPass? true:false; } /** * The name of the command as specified in CMakeList.txt. |