阅读背景:

最简单但完整的cmake示例。

来源:互联网 

Somehow I am totally confused by how CMake works. Every time I think that I am getting closer to understand how CMake is meant to be written, it vanishes in the next example I read. All I want to know is, how should I structure my project, so that my CMake requires the least amount of maintainance in the future. For example, I don't want to update my CMakeList.txt when I am adding a new folder in my src tree, that works exactly like all other src folders.Somehow I am totally confused by how CMake work




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: