g++和cmake是必须要理解掌握的。 cmake 添加头文件目录,链接动态、静态库 Chapter 1: Let's start with CMake Introduction to CMake by Example