summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorAaron Orenstein <aorenste@fb.com>2017-08-18 01:27:03 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-20 18:10:47 (GMT)
commit3b95ab569345028a1a8fe521d5ecd81fa97f2653 (patch)
tree98aa64465c6607b9af1779e63fafb9556f7fe664 /Source/cmTarget.cxx
parente018880350990565746a3b335b1606497ce94211 (diff)
downloadCMake-3b95ab569345028a1a8fe521d5ecd81fa97f2653.zip
CMake-3b95ab569345028a1a8fe521d5ecd81fa97f2653.tar.gz
CMake-3b95ab569345028a1a8fe521d5ecd81fa97f2653.tar.bz2
Performance: Improve efficiency of source file lookup in cmMakefile
Add an unordered map to cmMakefile to speed up GetSource() lookups.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index cb09156..49b0664 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -5,6 +5,7 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <assert.h>
+#include <iterator>
#include <map>
#include <set>
#include <sstream>