diff options
author | Brad King <brad.king@kitware.com> | 2007-08-03 19:44:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-08-03 19:44:25 (GMT) |
commit | d7118006deaf15c6e1b796b33cd883dd9bfa14fb (patch) | |
tree | 49c49f865d590cb017a04b2f14846c2826810909 /Source/cmGlobalGenerator.h | |
parent | 11604e72c425a3dba689dc42b0c34fdd2a9c8ff0 (diff) | |
download | CMake-d7118006deaf15c6e1b796b33cd883dd9bfa14fb.zip CMake-d7118006deaf15c6e1b796b33cd883dd9bfa14fb.tar.gz CMake-d7118006deaf15c6e1b796b33cd883dd9bfa14fb.tar.bz2 |
BUG: Target exclusion-from-all tests should always use the root local generator associated with the all target being tested.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index e0def62..88c1f69 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -230,7 +230,8 @@ protected: // has been populated. void FillProjectMap(); bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen); - void FillProjectToTargetMap(); + bool IsExcluded(cmLocalGenerator* root, cmTarget& target); + void FillLocalGeneratorToTargetMap(); void CreateDefaultGlobalTargets(cmTargets* targets); cmTarget CreateGlobalTarget(const char* name, const char* message, const cmCustomCommandLines* commandLines, @@ -247,7 +248,7 @@ protected: cmLocalGenerator* CurrentLocalGenerator; // map from project name to vector of local generators in that project std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap; - std::map<cmStdString, std::set<cmTarget*> > ProjectToTargetMap; + std::map<cmLocalGenerator*, std::set<cmTarget*> > LocalGeneratorToTargetMap; // Set of named installation components requested by the project. std::set<cmStdString> InstallComponents; |