diff options
author | Aaron Orenstein <aorenste@fb.com> | 2017-08-18 01:27:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-20 18:10:47 (GMT) |
commit | 3b95ab569345028a1a8fe521d5ecd81fa97f2653 (patch) | |
tree | 98aa64465c6607b9af1779e63fafb9556f7fe664 /Source/cmTarget.cxx | |
parent | e018880350990565746a3b335b1606497ce94211 (diff) | |
download | CMake-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.cxx | 1 |
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> |