WIP: Use std::unique_ptr to store cmTargets in a std::unordered_map
- Don' t use an internals class in
cmTarget
. IntegratecmTargetInternals
intocmTarget
- Use
std::unordered_map<std::string, std::unique_ptr<cmTarget>>
instead ofstd::unordered_map<std::string, cmTarget>
to store targets in acmMakefile
. This should speed up insert operations because only pointers must be moved around instead of wholecmTarget
instances. - Make
cmTarget
non copyable/movable - Move
cmTarget
types into dedicated headercmTargetTypes.h