Skip to content

cmTarget: Move all members into private class

Sebastian Holtermann requested to merge sebholt/cmake:cmTarget_Private into master

Moves all member variables of cmTarget to the private cmTargetInternals class. The only remaining member variable of cmTarget is std::unique_ptr<cmTargetInternals> Internal;. This enables fast moving of cmTarget instances because only the std::unique_ptr must be moved in fact.

Edited by Sebastian Holtermann

Merge request reports