Command & Conquer is the obvious place to start, and the Red Alert sub-series is the best of it for base building and massed armies — Red Alert 1, 2 and 3, plus the Generals entries that followed.
If you want something with more depth than a standard RTS, the Total War series layers real army composition and formation over a turn-based campaign map, which is closer to actually commanding a force than clicking a production queue.