The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13596 ====================================================================== Reported By: Chris Stankevitz Assigned To: ====================================================================== Project: CMake Issue ID: 13596 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-10-18 17:36 EDT Last Modified: 2012-10-18 17:36 EDT ====================================================================== Summary: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-10-18 17:36 Chris StankevitzNew Issue 2012-10-18 17:36 Chris StankevitzFile Added: Screenshot-Properties for uavlib-de...@builddebug.png ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers