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.
This commit is contained in:
Brad King
2009-07-24 13:31:34 -04:00
parent 071ce33ec9
commit 71c0e1417b
8 changed files with 14 additions and 1 deletions

View File

@@ -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.