View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015701CMakeModulespublic2015-08-17 05:042016-06-10 14:21
Reporterlehpat 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 3.3 
Target VersionCMake 3.6Fixed in VersionCMake 3.6 
Summary0015701: Eclipse Generator does accept / as seperator in SOURCE_GROUP instead of \\
DescriptionThe documentation stats:
"The <name> of the group may contain backslashes to specify subgroups:

source_group(outer\\inner ...)"

This statement does not work using eclipse generator. This leads that the source_group statement is dependent on the used generator.


Steps To ReproduceCMAKE-File:
SOURCE_GROUP("Source Files/foo" *.cpp)
SOURCE_GROUP("Source Files\\bar" *.cpp)

TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0039295)
lehpat (reporter)
2015-08-18 09:12

I compared the .project files with seperator \\ and speerator /.
I could not found files from a virtual sub directory seperated with \\ in the project file, so I think the sub directory information is discarded somewhere.

I tried to modify cmExtraEclipseCDT4Generator.cxx before converting \\ to / resulting in identical .project files as with the original files.
(0040519)
Thiago (reporter)
2016-02-23 06:26

Is it related to/a duplicate of https://cmake.org/Bug/view.php?id=12579 [^] ?
(0040527)
lehpat (reporter)
2016-02-24 04:54

The two bugs seem to be related. I tried to reproduce the error in Linux (used Windows before) and I saw every file of the attached Project to ID 15279. So for me it looks like both issues are only affected on Windows.
(0040768)
lehpat (reporter)
2016-03-29 10:56

Update: The two bugs are not related.
The current implementation of the eclipse Generator does not descend into children of the source group. If Source Groups with Sub directories are specified only the first Directory is created.
(0040775)
Brad King (manager)
2016-03-31 09:34

http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/16147 [^]
(0040793)
Brad King (manager)
2016-04-01 10:04

Patch from 0015701:0040775 applied:

Eclipse: Implement traversal of nested source groups
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4828a78c [^]
(0041205)
Kitware Robot (administrator)
2016-06-10 14:21

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.

 Issue History
Date Modified Username Field Change
2015-08-17 05:04 lehpat New Issue
2015-08-18 09:12 lehpat Note Added: 0039295
2015-08-30 16:49 Alex Neundorf Assigned To => Alex Neundorf
2015-08-30 16:49 Alex Neundorf Status new => assigned
2016-02-23 06:26 Thiago Note Added: 0040519
2016-02-24 04:54 lehpat Note Added: 0040527
2016-03-29 10:56 lehpat Note Added: 0040768
2016-03-31 09:34 Brad King Note Added: 0040775
2016-04-01 10:04 Brad King Note Added: 0040793
2016-04-01 10:04 Brad King Status assigned => resolved
2016-04-01 10:04 Brad King Resolution open => fixed
2016-04-01 10:04 Brad King Fixed in Version => CMake 3.6
2016-04-01 10:04 Brad King Target Version => CMake 3.6
2016-06-10 14:21 Kitware Robot Note Added: 0041205
2016-06-10 14:21 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team