table of Contents
- Create project Cal, choose to create a library
- Create demo files Cal.h and Cal.cpp
Generate static library
- CMakeLists.txt文件
- Click generate
Generate dynamic library
- CMakeLists.txt文件
- If you want to use it for others, just copy the corresponding library and header files.
- [Note] Reference : https://www.bilibili.com/video/BV1zt4y1C7T9?p=2