.gitignore for Eclipse CDT

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Many free IDE from silicon vendors (such as ST and NXP) are Eclipse-CDT  

Could you suggest a good .gitignore file? Mainly I don't know if it's  
better to ignore or add .settings folder, .project and .cproject files.

I think it's useful to add in CVS the options passed to compiler and  
linker, so another use could checkout and compile in the same way.

Re: .gitignore for Eclipse CDT
On Monday, December 2, 2019 at 5:21:10 PM UTC-5, pozz wrote:
Quoted text here. Click to load it

You'll definitely want .project and .cproject under source control.
After you've finally got the project working, RubeMX will trash them when you regenerate.
.settings I save as well.

Here's my typical .gitignore:

Hope that helps!
Best Regards, Dave

Site Timeline