diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-12-01 17:56:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-02 15:51:15 (GMT) |
commit | 48f78f5f9ed3a7e0717359720ecc157418f55155 (patch) | |
tree | 9d11532cf1202699246b6007bd1a6723e4504a5b /Source/cmGlobalXCodeGenerator.h | |
parent | 3350e4d209b6a7ff758ca371af4d62844a66ab36 (diff) | |
download | CMake-48f78f5f9ed3a7e0717359720ecc157418f55155.zip CMake-48f78f5f9ed3a7e0717359720ecc157418f55155.tar.gz CMake-48f78f5f9ed3a7e0717359720ecc157418f55155.tar.bz2 |
Xcode: use a map to look up target pointers (#15201)
Use an efficient internal lookup to associate cmTarget and cmXCodeObject
instances.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 9d7b784..d2bc9d1 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -241,6 +241,7 @@ private: std::map<std::string, cmXCodeObject* > GroupNameMap; std::map<std::string, cmXCodeObject* > TargetGroup; std::map<std::string, cmXCodeObject* > FileRefs; + std::map<cmTarget const*, cmXCodeObject* > XCodeObjectMap; std::vector<std::string> Architectures; std::string GeneratorToolset; }; |