特牛网址导航

CMake C++11设置_cmake设置c11-CSDN博客

网友收藏
文章浏览阅读860次。if(CMAKE_VERSION VERSION_LESS 3.0.0) include(CheckCXXCompilerFlag) check_cxx_compiler_flag(-std=c++11 COMPILER_SUPPORTS_CXX11) check_cxx_compiler_flag(-std=c++0x COMPILER_SUPPORTS_CXX0X) if(COMPILER_SUPPORTS_CXX11) set(CMAKE_CXX_FLAGS_cmake设置c11
标签:cmake设置c11