View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015479 | CMake | CMake | public | 2015-03-26 16:05 | 2016-06-10 14:31 | ||||
Reporter | Ben Boeckel | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015479: Support depfiles from add_custom_command | ||||||||
Description | It would be nice to be able to have custom commands be able to generate their own depfiles for Make and Ninja. Probably a DEPFILE argument to `add_custom_command`. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0038338) Brad King (manager) 2015-03-26 16:24 |
Interesting. This would do for Ninja what the IMPLICIT_DEPENDS option does for Makefile generators. Since the behavior is specific to Ninja perhaps it should be called NINJA_DEPFILE. |
(0038339) Ben Boeckel (developer) 2015-03-26 16:28 |
Here is a command which would benefit from this: https://gitlab.kitware.com/vtk/vtk/merge_requests/56 [^] Ah, if it would be Ninja-specific, then yes. May as well support NINJA_DEPFORMAT if someone wants to write MSVC-style dependency info as well for some reason (or someone had another format coded up *whistles*). |
(0039952) Marco Clemencic (reporter) 2015-12-04 09:22 |
Hi, I found this feature request while looking for Ninja + IMPLICIT_DEPENDS. I have projects with code generation steps, in some cases from C/C++ files (for which I can use IMPLICIT_DEPENDS), in others from XML (for which there is no way to generate dependencies at build time). The kind of feature requested here would help me a lot, but it should not be restricted to one generator, rather it should use a generic format that all generators can convert to their specific formats. I use CMake because it's portable I a would prefer not to write configuration files with switches that depend on the generator used (already the fact that IMPLICIT_DEPENDS only work for Makefile is very annoying). Cheers Marco |
(0042745) Kitware Robot (administrator) 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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-26 16:05 | Ben Boeckel | New Issue | |
2015-03-26 16:24 | Brad King | Note Added: 0038338 | |
2015-03-26 16:28 | Ben Boeckel | Note Added: 0038339 | |
2015-12-04 09:22 | Marco Clemencic | Note Added: 0039952 | |
2015-12-04 09:30 | Brad King | Relationship added | related to 0013234 |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042745 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |