1.新建立.C.H 2.在工程目录根文件寻找CmakeList.txt 3.寻找“target_sources”添加.c文件路径 寻找“target_include_directories“添加文件路径 4.在代码中引用.h