一.CMake官网(https://cmake.org/)上的介绍: CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configur…
本文首发于个人博客https://kezunlin.me/post/12ab5707/,欢迎阅读! cmake with user defined entry Guide FindXXX.cmake in CMAKE_MODULE_PATH xxx-config.cmake in CMAKE_PREFIX_PATH cmake default package FindXXX.cmake use find_package to find default package with name XXX…
学习cmake http://xwz.me/wiki/doku.php?id=cmake 碰到的一些问题: 1.You have changed variables that require your cache to be deleted死循环 解决方法:CMakeList.txt中include包含的子模板含有环境变量传入的标示且存在ADD_SUBDIRECTORY子目录控制,此时需要将子模板放置在CMakeList.txt的头部中 CMAKE的使用 http://blog.csdn.net…