summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-12-01 17:56:46 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-02 15:51:15 (GMT)
commit48f78f5f9ed3a7e0717359720ecc157418f55155 (patch)
tree9d11532cf1202699246b6007bd1a6723e4504a5b /Source/cmGlobalXCodeGenerator.h
parent3350e4d209b6a7ff758ca371af4d62844a66ab36 (diff)
downloadCMake-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.h1
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;
};