summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-07 19:01:46 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-09 20:16:02 (GMT)
commit3baaf6ccecb9117b613fc89cd37206960298dfaa (patch)
tree12e5a8e3b6df8faed7a386500768f008f6cf3ce6 /Source/cmGeneratorTarget.h
parent62a841b80b5f4b4f9cc0ddba77ae010a29b0e27e (diff)
downloadCMake-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/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index d93b052..976cac4 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -40,6 +40,8 @@ public:
std::vector<cmSourceFile*> OSXContent;
std::string ModuleDefinitionFile;
+ std::map<cmSourceFile const*, std::string> Objects;
+
private:
void ClassifySources();