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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -