MantisBT - CMake
View Issue Details
0012479CMakeCMakepublic2011-09-30 15:162011-10-16 04:57
Alex Neundorf 
Alex Neundorf 
normalminoralways
closedfixed 
CMake 2.8.5 
 
0012479: Generated Eclipse CDT files only valid for >= Helios (3.6)
The generated Eclipse project files contain virtual folders.
These are only supported by Eclipse since Helios (3.6).

What I plan to do:
* try to find Eclipse
* if found, figure out the version (e.g. look for a directory features/org.eclipse.platform_x.y.z.*/
* if found, set a cmake cache variable to that version
* if not, warn the user that the version of eclipse could not be determined, and tell him that he can adjust that variable
* if version is known and version is < 3.6 , skip generating the virtual folders
No tags attached.
related to 0012223closed Alex Neundorf Support of linked resources in Eclipse/CDT (single files, not folders) 
related to 0012417closed Alex Neundorf CDT4 generator: source path configured incorrectly 
related to 0012213closed Alex Neundorf Eclipse CDT4 Generator: Incompleted <linkedResources> 
Issue History
2011-09-30 15:16Alex NeundorfNew Issue
2011-09-30 15:16Alex NeundorfStatusnew => assigned
2011-09-30 15:16Alex NeundorfAssigned To => Alex Neundorf
2011-09-30 15:17Alex NeundorfRelationship addedrelated to 0012223
2011-09-30 15:17Alex NeundorfRelationship addedrelated to 0012417
2011-09-30 15:18Alex NeundorfRelationship addedparent of 0012213
2011-09-30 15:19Alex NeundorfRelationship deletedparent of 0012213
2011-09-30 15:19Alex NeundorfRelationship addedrelated to 0012213
2011-10-15 15:10Alex NeundorfNote Added: 0027587
2011-10-16 04:57Alex NeundorfNote Added: 0027592
2011-10-16 04:57Alex NeundorfStatusassigned => closed
2011-10-16 04:57Alex NeundorfResolutionopen => fixed

Notes
(0027587)
Alex Neundorf   
2011-10-15 15:10   
Pushed the branch DetectEclipseVersion to stage, still have to merge it into next.

CMake now tries to determine the version of Eclipse, and only if it is new enough, generates the VirtualFolders.
The detected version is stored in the new cache variable CMAKE_ECLIPSE_VERSION, which should be set by the user if CMake was not able to figure out the version (it prints a message in this case).
(0027592)
Alex Neundorf   
2011-10-16 04:57   
Merged into next.