MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012472 | CMake | CMake | public | 2011-09-21 09:59 | 2016-06-10 14:31 |
|
Reporter | Tomasz Grobelny | |
Assigned To | Alex Neundorf | |
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | moved | |
Platform | x86 | OS | Windows | OS Version | XP |
Product Version | CMake 2.8.5 | |
Target Version | | Fixed in Version | | |
|
Summary | 0012472: 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 Reproduce | Open cmake project with source_group constructs using QtDesigner and see cbp file in build directory. |
Additional Information | Implemented using attached patch. |
Tags | No tags attached. |
Relationships | related to | 0012335 | closed | Alex Neundorf | Codeblocks virt directory per target | related to | 0011959 | closed | Alex Neundorf | CMake does not write in defines into code::blocks projects files | related to | 0006498 | closed | Alex Neundorf | Codeblocks generated projects do not support compiling files individually |
|
Attached Files | cmake-codeblocks-sourcegroup-support.diff (1,442) 2011-09-21 09:59 https://public.kitware.com/Bug/file/4059/cmake-codeblocks-sourcegroup-support.diff |
|
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 |
Notes |
|
(0031025)
|
Luke K
|
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
|
2014-10-24 07:46
|
|
This problem seems to be present in cmake 3.0.2.
Any target release to be intergrated ? |
|
|
(0037684)
|
René
|
2015-01-14 05:08
|
|
I think this is very helpful. Any chance this will be in an upcoming cmake release? |
|
|
(0041905)
|
Kitware Robot
|
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. |
|