Eclipse Mars - set default settings for C++ project (c++11 set by default)

后端 未结 1 399
日久生厌
日久生厌 2021-01-06 16:43

I have found from other answers that in my Eclipse Mars CDT I can setup C++11 dialect using:

Project -> Properties -> C/C++ Build -> Settings -> Tool Settings ->

相关标签:
1条回答
  • 2021-01-06 17:23

    Create a Template

    You can create your own template for the C/C++ New Project Wizard. Lots more information in Creating a new C++ Project in Eclipse CDT with the same settings as another project but here is some extras about C++.

    For C++ Use C++ Hello World Template as a starting point. The key difference between the C++ and C template (other than the source) is the isCProject passed to the NewManagedProject process.

    Use the Elevenator Plug-in

    Primarily designed to make C++11 default, the Elevenator plug-in may resolve your issues. However my answer has a significant hole in that I don't know how to install it on its own as it comes with Cevelop

    0 讨论(0)
提交回复
热议问题