include_directories ("${PROJECT_SOURCE_DIR}/include") 之后就可以在Cpp 文件中直接用include 中的头文件了 #include "all_include_files.h"