基于CMakeList.txt文件创建C++动态库及静态库
文章目录基于CMakeList.txt文件创建C++动态库及静态库1. CMakeList.txt文件2. C++文件2.1 MyMathFuncs.h2.2 MyMathFuncs.cpp2.3 main.cpp3.运行基于CMakeList.txt文件创建C++动态库及静态库1. CMakeList.txt文件cmake_minimum_required(VERSION 3.12)project(calculate)set(CMAKE_CXX_STANDARD 14)add_librar
原创
2020-09-10 18:03:03 ·
3192 阅读 ·
0 评论