Starting with a meta-makefile in Premake is one way to go about learning C++, I suppose. But it seems to add an unnecessary layer of complexity and abstraction for beginners. And shared libraries, while an important thing to know about for many real-world projects, are not really part of the C++ language at all.
Yes, eventually you will probably want to figure out how to do cross-platform development. But if you really want to just learn the C++ language, I would start with an actual IDE, such as Visual Studio or Xcode, and just stick to one platform.
Or better yet, just use an online environment such as cpp.sh or ideone.com or codechef.com.