View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012472CMakeCMakepublic2011-09-21 09:592016-06-10 14:31
ReporterTomasz Grobelny 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionmoved 
Platformx86OSWindowsOS VersionXP
Product VersionCMake 2.8.5 
Target VersionFixed in Version 
Summary0012472: cmake codeblocks should support source_group
Description> Is there any way to make cmake generate ‘<Option virtualFolder="Source
> Files" />’ element for Unit elements in CodeBlocks Project file (cbp)? I
> would expect it to happen by using 'SOURCE_GROUP("Source Files" FILES
> ${SOURCES})' construct but it does not work for me (should it?).
Steps To ReproduceOpen cmake project with source_group constructs using QtDesigner and see cbp file in build directory.
Additional InformationImplemented using attached patch.
TagsNo tags attached.
Attached Filesdiff file icon cmake-codeblocks-sourcegroup-support.diff [^] (1,442 bytes) 2011-09-21 09:59 [Show Content]

 Relationships
related to 0012335closedAlex Neundorf Codeblocks virt directory per target 
related to 0011959closedAlex Neundorf CMake does not write in defines into code::blocks projects files 
related to 0006498closedAlex Neundorf Codeblocks generated projects do not support compiling files individually 

  Notes
(0031025)
Luke K (reporter)
2012-09-13 14:12

This is something that our development team needed as well. We applied the patch and it worked fine in 2.8.9 after we changed the cmMakefile::FindSourceGroups() signature to be const. Please consider incorporating this patch in to the next release of CMake.

Thanks,
Luke K

cmMakefile.h
@@ -697,7 +697,7 @@
   cmSourceGroup& FindSourceGroup(const char* source,
- std::vector<cmSourceGroup> &groups);
+ std::vector<cmSourceGroup> &groups) const;

cmMakefile.cxx
@@ -2620,7 +2620,7 @@
 cmSourceGroup&
 cmMakefile::FindSourceGroup(const char* source,
- std::vector<cmSourceGroup> &groups)
+ std::vector<cmSourceGroup> &groups) const
(0037071)
Cedric (reporter)
2014-10-24 07:46

This problem seems to be present in cmake 3.0.2.
Any target release to be intergrated ?
(0037684)
René (reporter)
2015-01-14 05:08

I think this is very helpful. Any chance this will be in an upcoming cmake release?
(0041905)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

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
2011-09-21 09:59 Tomasz Grobelny New Issue
2011-09-21 09:59 Tomasz Grobelny File Added: cmake-codeblocks-sourcegroup-support.diff
2011-09-22 00:34 Alex Neundorf Assigned To => Alex Neundorf
2011-09-22 00:34 Alex Neundorf Status new => assigned
2011-10-23 09:40 Alex Neundorf Relationship added related to 0012235
2011-10-23 09:41 Alex Neundorf Relationship added related to 0012335
2011-10-23 09:41 Alex Neundorf Relationship deleted related to 0012235
2012-01-04 16:07 Alex Neundorf Relationship added related to 0011959
2012-01-04 16:14 Alex Neundorf Relationship added related to 0006498
2012-08-13 12:45 Alex Neundorf Status assigned => backlog
2012-09-13 14:12 Luke K Note Added: 0031025
2014-10-24 07:46 Cedric Note Added: 0037071
2015-01-14 05:08 René Note Added: 0037684
2016-06-10 14:28 Kitware Robot Note Added: 0041905
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team