c++ - Enable C++11 support in VS 2013 from cmake -
i have small cmakelists.txt
cmake_minimum_required(version 2.6) project(project) set(cmake_cxx_flags "/qstd=c++11") add_executable(demo src/main.cpp) as far know flag /qstd=c++11 should enable support c++11 when using msvc++ doesn't, not /qstd=c++0x works.
what i'm doing wrong here ?
vs2013 supports c++11 without additional flags. don't need (of course remember use /ehsc enable exception handling).
Comments
Post a Comment