Merge topic 'dev/target-fastpaths'
a9c9b66c
cmTarget: use a hash_map for cmTargets typedefbcb6dbc1
cmTarget: help the optimizer a bit679f3dee
cmTarget: use hash_set for sets of strings23d6520d
cmTarget: Allow caching of empty genex expansionscd54f1db
cmTarget: Only copy GenEx expansions when necessaryb75fc0e1
cmTarget: Don't set properties on custom targets66076915
cmTarget: Use static strings for special property namescebefa71
cmTarget: Sort special property checks97ce676e
cmTarget: Fast path for regular properties4cfa918a
cmTarget: Factor out common code85242b7d
cmTarget: Use else/if trees rather than an if tree
This commit is contained in:
commit
36a8184d40
File diff suppressed because it is too large
Load Diff
|
@ -18,6 +18,9 @@
|
|||
#include "cmListFileCache.h"
|
||||
|
||||
#include <cmsys/auto_ptr.hxx>
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include <cmsys/hash_map.hxx>
|
||||
#endif
|
||||
|
||||
#define CM_FOR_EACH_TARGET_POLICY(F) \
|
||||
F(CMP0003) \
|
||||
|
@ -844,7 +847,11 @@ private:
|
|||
mutable bool LinkImplementationLanguageIsContextDependent;
|
||||
};
|
||||
|
||||
#ifdef CMAKE_BUILD_WITH_CMAKE
|
||||
typedef cmsys::hash_map<std::string,cmTarget> cmTargets;
|
||||
#else
|
||||
typedef std::map<std::string,cmTarget> cmTargets;
|
||||
#endif
|
||||
|
||||
class cmTargetSet: public std::set<std::string> {};
|
||||
class cmTargetManifest: public std::map<std::string, cmTargetSet> {};
|
||||
|
|
Loading…
Reference in New Issue