c make干什么用得_CMake的工作原理是什么?
我不是问自己。我希望这个问题将是谁喜欢我的许多新手参考,发现它完全傻了眼关于究竟发生了什么事情幕后,这样一个小CMakeLists.txt文件时CMake的工作原理是什么?
cmake_minimum_required (VERSION 2.6)
project(Tutorial)
add_executable(Tutorial tutorial.cpp)
这么小tutorial.cpp
有这么多的文件生成的
CMakeCache.txt cmake_install.cmake Makefile
CMakeLists.txt tutorial.cpp
,并与个CMakeFiles文件夹Ø许多文件和文件夹
CMakeCCompiler.cmake CMakeOutput.log Makefile.cmake
cmake.check_cache CMakeSystem.cmake progress.marks
CMakeCXXCompiler.cmake CMakeTmp TargetDirectories.txt
CMakeDetermineCompilerABI_C.bin CompilerIdC Tutorial.dir
CMakeDetermineCompilerABI_CXX.bin CompilerIdCXX
CMakeDirectoryInformation.cmake Makefile2
虽然不知道发生了什么事情幕后(即:为什么那么可以文件必须产生什么他们的目的),是能够学习C进行最大障碍。
如果有人知道,为了后代的缘故,请您解释一下吗?这些文件的用途是什么,当我输入cmake .时,在构建项目之前cmake的配置和生成到底是什么?
2013-07-08
Nav
+0
我知道out-of-source构建。如果任何人没有做一个源代码构建,并仍在寻找一种方法来清理生成的文件,这种技术效果很好:http://stackoverflow.com/a/12055610/453673 –
+3
有很好的描述:http:///www.aosabook.org/en/cmake.html,并可能深入地回答问题(这里不能总结)。 –
+0
@SebTu断开的链接。 cmake.html页面不存在。 –
我不是问自己。我希望这个问题将是谁喜欢我的许多新手参考,发现它完全傻了眼关于究竟发生了什么事情幕后,这样一个小CMakeLists.txt文件时CMake的工作原理是什么? cmake_minimum_required (VERSION 2.6) project(Tutorial) add_executable(Tutorial tutorial.cpp) 这么小tutorial.cpp 有这么多的文件生成的 CMakeCache.txt cmake_install.cmake Makefile CMakeLists.txt tutorial.cpp ,并与个CMakeFiles文件夹Ø许多文件和文件夹 CMakeCCompiler.cmake CMakeOutput.log Makefile.cmake cmake.check_cache CMakeSystem.cmake progress.marks CMakeCXXCompiler.cmake CMakeTmp TargetDirectories.txt CMakeDetermineCompilerABI_C.bin CompilerIdC Tutorial.dir CMakeDetermineCompilerABI_CXX.bin CompilerIdCXX CMakeDirectoryInformation.cmake Makefile2 虽然不知道发生了什么事情幕后(即:为什么那么可以文件必须产生什么他们的目的),是能够学习C进行最大障碍。 如果有人知道,为了后代的缘故,请您解释一下吗?这些文件的用途是什么,当我输入cmake .时,在构建项目之前cmake的配置和生成到底是什么? 2013-07-08 Nav +0 我知道out-of-source构建。如果任何人没有做一个源代码构建,并仍在寻找一种方法来清理生成的文件,这种技术效果很好:http://stackoverflow.com/a/12055610/453673 – +3 有很好的描述:http:///www.aosabook.org/en/cmake.html,并可能深入地回答问题(这里不能总结)。 – +0 @SebTu断开的链接。 cmake.html页面不存在。 –