User Tools

Site Tools


cplusplus:configure_ecipse_cdt_for_c_11

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
cplusplus:configure_ecipse_cdt_for_c_11 [2016/01/11 20:12] mithatcplusplus:configure_ecipse_cdt_for_c_11 [2016/01/22 18:49] mithat
Line 1: Line 1:
 ====== Configure Eclipse CDT for C++11 ====== ====== Configure Eclipse CDT for C++11 ======
  
-This video pretty much outlines the process.+This video from CodersVoice outlines the process for Windows pretty well.
 {{youtube>7Vb35GeL-T8?medium}}  {{youtube>7Vb35GeL-T8?medium}} 
 \\ \\
  
-The per-project configuration details start at 6:39. In short:+The **per-project** configuration details start at 6:39. In short:
  
-  * //Project Settings > C/C++ Build > Settings//, select //Miscellaneous// under //GCC C++ Compiler//, add the following to //Other flags//: ''-std=c++11'' +  - Open **//Project Settings > C/C++ Build > Settings//** 
-  * //Window > Preferences > C/C++ > Build > Settings//, click the //Discovery// tab, select //CDT GCC Built-in Compiler Settings MinGW [Shared]//, and to //Command to get compiler specs// add: ''-std=c++11''+  - Select //Miscellaneous// under //GCC C++ Compiler// 
 +  - Add the following to //Other flags//: ''-std=c++11'' 
 +  - Open **//Window > Preferences > C/C++ > Build > Settings//** 
 +  - Click the //Discovery// tab 
 +  - Select //CDT GCC Built-in Compiler Settings MinGW [Shared]// 
 +  - Add: ''-std=c++11'' to //Command to get compiler specs// 
  
 **As far as I can tell, there's no easy way to make Eclipse CDT C++ projects use C++11 settings by default**, so you'll have to do this for all projects that use C++11 features. **As far as I can tell, there's no easy way to make Eclipse CDT C++ projects use C++11 settings by default**, so you'll have to do this for all projects that use C++11 features.
cplusplus/configure_ecipse_cdt_for_c_11.txt · Last modified: 2016/01/22 18:50 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki