Clion下同時編寫多個main函數

在你的CMakeLists.txt文件下配置,使用add_executable(),前面的必定要不同blog

紅色部分是描述main的,配置後運行處能夠選擇:table

相關文章
相關標籤/搜索