cmake增加-std=c++11,-std=c++14,-std=c++17选项
cmake生成makefile增加c++版本选项,命令如下:# 增加-std=gnu++11cmake . -DCMAKE_CXX_STANDARD=11 <path-to-source># 增加-std=gnu++14cmake . -DCMAKE_CXX_STANDARD=14 <path-to-source># 增加-std=gnu++17cmake . -DCMAKE_CXX_STANDARD=17 <path-to-