mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
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.
This commit is contained in:
@@ -284,11 +284,6 @@ protected:
|
||||
cmTarget& target,
|
||||
const std::vector<std::string>& objects);
|
||||
|
||||
std::string GetObjectFileName(cmTarget& target,
|
||||
const cmSourceFile& source,
|
||||
std::string* nameWithoutTargetDir = 0,
|
||||
bool* hasSourceExtension = 0);
|
||||
|
||||
void AppendRuleDepend(std::vector<std::string>& depends,
|
||||
const char* ruleFileName);
|
||||
void AppendRuleDepends(std::vector<std::string>& depends,
|
||||
|
||||
Reference in New Issue
Block a user