mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user