MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012309 | CMake | (No Category) | public | 2011-06-28 13:51 | 2016-06-10 14:31 |
Reporter | Jérôme Gardou | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | CMake 2.8.12 | Fixed in Version | |||
Summary | 0012309: Support raw replacements in IMPLICIT_DEPENDS_INCLUDE_TRANSFORM | ||||
Description | The IMPLICIT_DEPENDS_INCLUDE_TRANSFORM is very practical, but is currently limited to macro. Perforaming quick and dirty replacements should be allowed for maximum flexibility. I see 2 use cases for this : 1) Adding a custom command to generate the header with IMPLICIT_DEPENDS, and use OBJECT_DEPENDS to make object files dependant on it. Setting IMPLICIT_DEPENDS_INCLUDE_TRANSFORM to "header.h=" would allow to skip files on which the objects already depend on. With this technique, you can drastically reduce dependency checking performance. Or some #define __HEADER__ "header.h" and then #include __HEADER__ Ps : I hope this patch will apply cleanly this time. If not, just let me know. | ||||
Steps To Reproduce | Use test project attached, try to generate (it will obviously fail) and then look at depends.internal in CMakeFiles/test.dir Try commenting/uncommenting the two lines of test1.c to see the results. | ||||
Additional Information | I noticed that if result_test.h doesn't contain any #include statement, it won't be added to the dependency list. Not sure if it's a feature or a bug, but I'd consider it's the latter. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0001-Implements-raw-replacement-for-IMPLICIT_DEPENDS_INCL.patch (46,334) 2011-06-28 13:51 https://public.kitware.com/Bug/file/3962/0001-Implements-raw-replacement-for-IMPLICIT_DEPENDS_INCL.patch headers_test.zip (578) 2011-06-28 13:51 https://public.kitware.com/Bug/file/3963/headers_test.zip patch.txt (3,211) 2011-08-28 11:08 https://public.kitware.com/Bug/file/4028/patch.txt | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-06-28 13:51 | Jérôme Gardou | New Issue | |||
2011-06-28 13:51 | Jérôme Gardou | File Added: 0001-Implements-raw-replacement-for-IMPLICIT_DEPENDS_INCL.patch | |||
2011-06-28 13:51 | Jérôme Gardou | File Added: headers_test.zip | |||
2011-07-21 13:10 | Jérôme Gardou | Note Added: 0027060 | |||
2011-08-03 16:03 | Brad King | Note Added: 0027166 | |||
2011-08-03 16:03 | Brad King | Assigned To | => Brad King | ||
2011-08-03 16:03 | Brad King | Status | new => assigned | ||
2011-08-28 11:08 | Jérôme Gardou | File Added: patch.txt | |||
2011-08-28 11:09 | Jérôme Gardou | Note Added: 0027278 | |||
2011-10-06 15:16 | Amine Khaldi | Note Added: 0027544 | |||
2011-10-06 16:25 | Brad King | Note Added: 0027547 | |||
2012-08-13 10:36 | Brad King | Status | assigned => backlog | ||
2012-08-13 10:36 | Brad King | Note Added: 0030478 | |||
2012-08-20 11:52 | David Cole | Assigned To | Brad King => | ||
2012-08-20 11:52 | David Cole | Status | backlog => new | ||
2012-08-20 11:52 | David Cole | Target Version | => CMake 2.8.10 | ||
2012-10-18 11:16 | David Cole | Target Version | CMake 2.8.10 => CMake 2.8.11 | ||
2012-10-18 11:17 | David Cole | Note Added: 0031264 | |||
2013-05-17 09:33 | Robert Maynard | Target Version | CMake 2.8.11 => CMake 2.8.12 | ||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041855 | |||
2016-06-10 14:28 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|