Notes |
|
(0039395)
|
Gregory Kramida
|
2015-09-10 09:55
(edited on: 2015-09-10 10:00) |
|
The proposed fix is also a potential fix for the problem I am experiencing with eclipse indexer getting confused due to duplicate paths in CMake-generated eclipse CDT (Makefile) project. (Mentioned here: http://www.cmake.org/Bug/view.php?id=15725#c39382 [^])
A large project with multiple subprojects generates a source tree, duplicate links to source files under the [Targets], and triplicate links to the same source files under the [Subprojects] virtual folder. CDT's "open declaration" then keeps re-opening the same files multiple times, which causes editing/saving conflicts, GUI cluttering, and general confusion (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=471990 [^] [^]).
Another potential solution is to switch to generating eclipse Workspaces instead of projects, with CMake subproject == project, and a single source tree for each project (see http://www.cmake.org/Bug/view.php?id=15298 [^]).
|
|
|
(0040542)
|
Alex Neundorf
|
2016-02-24 17:09
|
|
The Eclipse documentation says that resource filters are not applied to linked resources, since they are created explicitely by the user.
So basicaly, you'd be better off without the subproject- and target-links ? |
|
|
(0040544)
|
Gregory Kramida
|
2016-02-24 18:27
(edited on: 2016-02-24 18:28) |
|
@Alex Neundorf, actually, it seems like the CDT devs have already solved that issue. My problem really stemmed from their indexer ambiguously picking between files under [Subprojects] and their non-virtual-folder equivalents. Based on my feedback they made the indexer open up the non-virtual-folder things in all such cases.
Also, my assertion about the bug duplicate was wrong. Virtual folders are not linked resources, I just got confused at some point.
|
|
|
(0042706)
|
Kitware Robot
|
2016-06-10 14:29
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|