Eclipse generator: Provide options to disable [Subprojects] and [Source directory] linked resource generation
I've just converted a large codebase from Makefiles to CMake, and am trying to use Eclipse with it via CMake's Eclipse project + makefile generator.
For some reason, the generator creates [Subprojects] and [Source directory] linked resources, which results in every source file in the project showing up 3 times in Eclipse's "Open Resource" menu (Ctrl+Shift+R).
I don't understand what problem those linked resources are trying to solve, or what value they are trying to add. CMake lets me define what the project should look like, and the Eclipse generator should generate a project that reflects that as accurately as possible, without any confusing bonus stuff. If I delete the [Subprojects] and [Source directory] linked resources, everything works great: I see in the Eclipse project exactly what is in the CMake project definition, and everything indexes and browses just fine.
If I want to see more than what is defined in the CMake project, such as the entire file tree that the code lives in, I can manually create a separate Eclipse project to do that (and, in fact, I have done exactly that because CMake won't let me put XML files into the Eclipse project no matter what I try).
Since someone obviously thought these features were important at some point, it would be nice to maybe get some options to disable generation of them for those who do not benefit from them.