diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-04-12 19:46:14 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-04-12 19:46:14 (GMT) |
commit | 2a1e2456ae98a1d89715a428df7245ade72101ae (patch) | |
tree | c4c7a53c3ba7af944c47baf49dbc23beff5fa97b /Source/cmGlobalGenerator.h | |
parent | b4de606bdd604b0e7f4d98826aa5ea074084f890 (diff) | |
download | CMake-2a1e2456ae98a1d89715a428df7245ade72101ae.zip CMake-2a1e2456ae98a1d89715a428df7245ade72101ae.tar.gz CMake-2a1e2456ae98a1d89715a428df7245ade72101ae.tar.bz2 |
ENH: some code consolidation and cleanup
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index eac72a4..65fe715 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -193,6 +193,9 @@ public: virtual const char* GetEditCacheTargetName() { return 0; } virtual const char* GetRebuildCacheTargetName() { return 0; } + // what targets does the specified target depend on + std::vector<cmTarget *>& GetTargetDepends(cmTarget& target); + protected: // Fill the ProjectMap, this must be called after LocalGenerators // has been populated. @@ -236,6 +239,8 @@ private: // this is used to improve performance std::map<cmStdString,cmTarget *> TotalTargets; + + std::map<cmStdString, std::vector<cmTarget *> > TargetDependencies; }; #endif |