摘要: 参考:https://www.hahack.com/codes/cmake/# 源文件一共有三个:main.cpp、MathFunctions.h、MathFunctions.cpp 文件内容分别如下: main.cpp 1 #include <stdio.h> 2 #include <stdlib 阅读全文
posted @ 2019-09-29 18:31 巨鹿王十二 阅读(1320) 评论(0) 推荐(0)
摘要: 官网教程:https://cmake.org/cmake-tutorial/ 第一个简单的例子 源文件:tutorial.cpp 1 // A simple program that computes the square root of a number 2 #include <stdio.h> 阅读全文
posted @ 2019-09-29 17:39 巨鹿王十二 阅读(664) 评论(0) 推荐(0)
摘要: 之前虚拟机可以上网,最近上不去了,在网上找了好多办法,感觉都不合适。 然后使用下面这个办法解决问题了。 https://blog.csdn.net/elegance_zf/article/details/54728447 由于昨日刚升级宿主机的系统,猜想可能由于某些原因破坏了某些服务的依赖文件,如果 阅读全文
posted @ 2019-09-29 16:32 巨鹿王十二 阅读(185) 评论(0) 推荐(0)