cmake使用总结

1.a C++11-standard-compliant compiler:

CMakeList.txt中增加add_compile_options(-std=c++11)

 

2.重新cmake:

删除文件夹下的文件 rm CMakeCache.txt 重新编译即可

posted @ 2020-09-04 07:55  心媛意码  阅读(112)  评论(0编辑  收藏  举报