Linux用cmake编译c++

g++ -o helloworld helloworld.cppui 但若是调用库的话,用g++编译很是不方便,咱们能够写一个cmakelist,每次写新程序复制就能够了。get 建立源文件 emacs -nw main.cppemacs 建立cmake命令 emacs -nw CMakeLists.txt编译 进行连接 cmake CMakeLists.txttable 编译 maketest
相关文章
相关标签/搜索