MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013596 | CMake | CMake | public | 2012-10-18 17:36 | 2015-01-13 14:32 | |||||
Reporter | Chris Stankevitz | |||||||||
Assigned To | Alex Neundorf | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Eclipse CDT | OS | OS Version | |||||||
Product Version | CMake 2.8.9 | |||||||||
Target Version | CMake 2.8.11 | Fixed in Version | ||||||||
Summary | 0013596: Eclipse project: Set Source path to the source code directory | |||||||||
Description | The Eclipse indexer by default indexes the entire project. This causes headaches as the cmake-generated projects include [Targets] and [Subprojects] which contain copies of all the source code. In bug 13189 we discuss marking the [Targets] and [Subprojects] resources as "derived". Unfortunately the CDT indexer seems to disregard their "derived" nature and indexes them anyway. For more info on this apparent CDT bug see https://bugs.eclipse.org/bugs/show_bug.cgi?id=390964 [^] and http://www.eclipse.org/forums/index.php?t=rview&goto=948782 [^] In addition to marking [Targets] and [Subprojects] resources as "derived", I recommend we also set the eclipse project "source path" to point to the [Source directory] resource. This causes CDT to limit its indexing to the [Source directory] resource. This solves the problems described in bug 13189. See attached for an example of manually making this change. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | Screenshot-Properties for uavlib-DEBUG@BuildDebug.png (53,619) 2012-10-18 17:36 https://public.kitware.com/Bug/file/4528/Screenshot-Properties%20for%20uavlib-DEBUG%40BuildDebug.png cmExtraEclipseCDT4Generator.cxx (46,681) 2012-10-23 16:44 https://public.kitware.com/Bug/file/4529/cmExtraEclipseCDT4Generator.cxx | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-10-18 17:36 | Chris Stankevitz | New Issue | ||||||||
2012-10-18 17:36 | Chris Stankevitz | File Added: Screenshot-Properties for uavlib-DEBUG@BuildDebug.png | ||||||||
2012-10-19 12:32 | Alex Neundorf | Note Added: 0031284 | ||||||||
2012-10-19 12:32 | Alex Neundorf | Assigned To | => Alex Neundorf | |||||||
2012-10-19 12:32 | Alex Neundorf | Status | new => assigned | |||||||
2012-10-23 16:43 | Alex Neundorf | Note Added: 0031298 | ||||||||
2012-10-23 16:44 | Alex Neundorf | File Added: cmExtraEclipseCDT4Generator.cxx | ||||||||
2012-10-23 18:49 | Chris Stankevitz | Note Added: 0031301 | ||||||||
2012-10-24 09:15 | Alex Neundorf | Note Added: 0031303 | ||||||||
2012-10-24 14:53 | David Cole | Target Version | => CMake 2.8.11 | |||||||
2012-11-03 13:57 | Alex Neundorf | Note Added: 0031399 | ||||||||
2012-11-03 13:57 | Alex Neundorf | Status | assigned => closed | |||||||
2012-11-03 13:57 | Alex Neundorf | Resolution | open => fixed | |||||||
2015-01-13 14:32 | Brad King | Relationship added | related to 0015347 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|