基于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 ·
3327 阅读 ·
0 评论