compiler construction - How to migrate to C++ 11 in an OpenSource IDE (codelite) -


i using codelite 5.1 on ubuntu qq. default, based on intalled qq , other tools, have gtcc , gt++ toolchains avialable. use gt++, seems along ok boost.

would things running using c++ 11 - steps need take? need install c++ 11 libs?

update see below

i tried on linux1:

first, under build options, create entry relevant compiler switch:

enter image description here

zoomed:

enter image description here

demonstration using g++:

  1. create project

enter image description here

  1. set build flags (global settings)

enter image description here

  1. build , run

enter image description here

success!

update:

you want tick enable c++11 standard checkbox under "code completion" too:

enter image description here


1 on ubuntu quantal, don't use distro version - crashes on opening project. use

deb http://repos.codelite.org/ubuntu/ quantal universe 

Comments