CMake
mitre
夜尽天明...
展开
-
CMakeLists 小学-3
前两篇博客弄明白了cmake的基本command 和variable 。现在看看别人怎么写CMakeLists.txt 的。下面是美国德克萨斯大学(奥斯汀分校)的一个研究生写的,源码在github上。cmake_minimum_required(VERSION 2.8)project(UTAustinVillaBase CXX C)set(CMAKE_MODULE_PATH ${CMAKE_...原创 2018-04-14 18:03:52 · 372 阅读 · 0 评论 -
CMakeLists 小学-1
The most basic project is an executable built from source code files. For simple projects a two line CMakeLists.txt file is all that is required. This will be the starting point for our tutorial. The ...原创 2018-04-13 03:05:45 · 218 阅读 · 0 评论 -
CMakeLists 小学-2
经过小学一年级(CMakeLists 小学-1)的勤奋学习,现在终于上小学二年级了。上一篇文章里出现了几个变量:PROJECT_BINARY_DIRCMAKE_BINARY_DIRLIBRARY_OUTPUT_PATHEXECUTABLE_OUTPUT_PATH这些变量(variable)名不是我起的,是cmake自带的!cmake生来就有的!实际上,cmake变量远不止这几个,还有很多很多。现在...原创 2018-04-13 20:10:31 · 207 阅读 · 0 评论