[cmake-developers] [CMake 0012213]: Eclipse CDT4 Generator: Incompleted <linkedResources>

Mantis Bug Tracker mantis at public.kitware.com
Sat May 21 21:46:49 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12213 
====================================================================== 
Reported By:                KZ
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12213
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-05-21 21:46 EDT
Last Modified:              2011-05-21 21:46 EDT
====================================================================== 
Summary:                    Eclipse CDT4 Generator: Incompleted
<linkedResources>
Description: 
I just installed cmake 2.8.3 on a Ubuntu 11.04 system and generated a Eclipse
CDT4 project.

The generated project did not contain all the required linked resources. This
makes the project unusable in Eclipse.

The exact same CMakeLists.txt generates a working Eclipse project in cmake
2.8.0.

See the attached cdt4.tgz.

Compare the two eclipse-$VER projects for output from each cmake version tested.


Steps to Reproduce: 
1. tar xfa cdt4.tgz 
2. export PROJ_DIR=`pwd`/sample/baz/project
3. Using cmake version 2.8.0
   a cd eclipse-2.8.0
   b cmake $PROJ_DIR -G"Eclipse CDT4 - Unix Makefiles"

4. Using cmake version 2.8.3
   a cd eclipse-2.8.3
   b cmake $PROJ_DIR -G"Eclipse CDT4 - Unix Makefiles"

6. Compare .project files in 2.8.0 and 2.8.3. The one in 2.8.3 has an incomplete
<linkedResource> section.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-21 21:46 KZ             New Issue                                    
2011-05-21 21:46 KZ             File Added: cdt4.tgz                         
======================================================================




More information about the cmake-developers mailing list