摘要: 多个源文件,多个目录 现在进一步将MathFunctions.c和MathFunctions.h文件移到math目录下: ./Demo3 | + main.c | + math/ | + MathFunctions.c | + MathFunctions.h CMakeLists.txt编写 这种情 阅读全文
posted @ 2018-04-23 09:49 且听风吟-wuchao 阅读(34900) 评论(0) 推荐(1) 编辑
摘要: 同一目录,多个源文件 把前面的main.c里面的power函数单独写入到一个MathFunctions.c源文件里,目录下的文件结构如下: ./Demo2 | + main.c | + MathFunctions.c | + MathFunctions.h CMakeLists.txt编写 内容如下 阅读全文
posted @ 2018-04-23 08:48 且听风吟-wuchao 阅读(2541) 评论(0) 推荐(0) 编辑