diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-25 12:14:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:26 (GMT) |
commit | c389f8bb07e900d805ca3163f47b06e3dbe4303b (patch) | |
tree | 777213ec086fdf40af7f0835d4cce2c21a2694a2 /Source/cmLocalGenerator.h | |
parent | 02533038dae9fb5b4ae1b6f7d55bb5af397400af (diff) | |
download | CMake-c389f8bb07e900d805ca3163f47b06e3dbe4303b.zip CMake-c389f8bb07e900d805ca3163f47b06e3dbe4303b.tar.gz CMake-c389f8bb07e900d805ca3163f47b06e3dbe4303b.tar.bz2 |
cmLocalGenerator: Port Find method away from GetGeneratorTarget
Mirror the cmMakefile::FindTarget method.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 7841d05..67383d7 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -120,6 +120,11 @@ public: return this->GeneratorTargets; } + const std::vector<cmGeneratorTarget*> &GetImportedGeneratorTargets() const + { + return this->ImportedGeneratorTargets; + } + void AddGeneratorTarget(cmGeneratorTarget* gt); void AddImportedGeneratorTarget(cmGeneratorTarget* gt); |