To configure C ++ 11 for specific projects, I have to add -std=c++11in CDT GCC Built-in Compiler Settingsthe section Project ā Properties ā C / C ++ General ā Preprocessor Include Paths, Macros, etc.
Creates a file called .settings/language.settings.xmlfor each project that requires C ++ 11. This file contains a parameter -std=c++11.
I write this file in git, but, alas, the file also contains an environment hash that is recounted for every other server.
The result is a merge nightmare, where each developer must constantly revert or commit changes to in language.settings.xmlorder to work. and every time this happens, the indexer will reindex everything.
Can this be avoided? can I set the indexer for C ++ 11 for each project in a different way?
Edit: I cannot just gitignore files, because I need to share them with all developers.
source
share