CMake查漏补缺

【CMake查漏补缺】1 、基本框架

test.cc:


#includeint main(void){std::cout<<"hello world"<


CMakeLists.txt:

add_executable(myapp test.cc)



命令:
cmake .make./myapp


    推荐阅读