diff options
author | Brad King <brad.king@kitware.com> | 2012-03-07 19:01:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-09 20:16:02 (GMT) |
commit | 3baaf6ccecb9117b613fc89cd37206960298dfaa (patch) | |
tree | 12e5a8e3b6df8faed7a386500768f008f6cf3ce6 /Source/cmGlobalUnixMakefileGenerator3.h | |
parent | 62a841b80b5f4b4f9cc0ddba77ae010a29b0e27e (diff) | |
download | CMake-3baaf6ccecb9117b613fc89cd37206960298dfaa.zip CMake-3baaf6ccecb9117b613fc89cd37206960298dfaa.tar.gz CMake-3baaf6ccecb9117b613fc89cd37206960298dfaa.tar.bz2 |
Pre-compute object file names before Makefile generation
Add a virtual cmGlobalGenerator::ComputeTargetObjects method invoked
during cmGeneratorTarget construction. Implement it in the Makefile
generator to pre-compute all object file names for each target. Use
the results during generation instead of re-computing it later.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index 9663b55..e6dd09d 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/Source/cmGlobalUnixMakefileGenerator3.h @@ -182,6 +182,8 @@ protected: size_t CountProgressMarksInAll(cmLocalUnixMakefileGenerator3* lg); cmGeneratedFileStream *CommandDatabase; +private: + virtual void ComputeTargetObjects(cmGeneratorTarget* gt) const; }; #endif |