MantisBT - CMake
View Issue Details
0014272CMakeCMakepublic2013-07-04 16:372016-06-10 14:31
rikky 
Alex Neundorf 
normalminoralways
closedmoved 
LinuxGentoo x64
CMake 2.8.11.2 
 
0014272: CodeBlocks generator does not include generated files
Generated files are not included in the project tree. I think this was accidently introduced with 2a9f7f96b804ed929c56826c8477895c5924befe (Also add the SOURCES from add_custom_target() to CodeBlocks projects (0011736)). This patch added SOURCES from add_custom_target, but removed generated files for other targets (i.e. add_library).

I attached a possible fix, but I'm not sure I use the right coding style.
No tags attached.
patch add_generated_files.patch (611) 2013-07-04 16:37
https://public.kitware.com/Bug/file/4813/add_generated_files.patch
Issue History
2013-07-04 16:37rikkyNew Issue
2013-07-04 16:37rikkyFile Added: add_generated_files.patch
2013-07-08 10:12Robert MaynardAssigned To => Alex Neundorf
2013-07-08 10:12Robert MaynardStatusnew => assigned
2013-07-08 10:12Robert MaynardNote Added: 0033504
2014-10-31 10:17rikkyNote Added: 0037114
2014-10-31 11:43Nils GladitzNote Added: 0037119
2014-10-31 18:38rikkyNote Added: 0037125
2016-06-10 14:29Kitware RobotNote Added: 0042312
2016-06-10 14:29Kitware RobotStatusassigned => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0033504)
Robert Maynard   
2013-07-08 10:12   
Alex, can you look at this issue?
(0037114)
rikky   
2014-10-31 10:17   
Since this bug is still open, is there something wrong with the patch? Anything I can help with, to improve the patch?
(0037119)
Nils Gladitz   
2014-10-31 11:43   
IMO the change doesn't look accidental.

I think the intention was to keep generated source files out of the IDE since editing generated files does not normally make sense.
(0037125)
rikky   
2014-10-31 18:38   
It's not about changing a generated file. I want to use "follow Symbol under cursor" and be able to see generated functions when debugging. These features work for system headers, which are also not meant to be edited.

Also the request in 0011736 was to be able to add source files for add_custom_target and not to remove generated files from add_library or add_executable.
(0042312)
Kitware Robot   
2016-06-10 14:29   
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.