MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002058 | CMake | CMake | public | 2005-07-19 15:11 | 2005-08-05 13:06 |
Reporter | Alex Neundorf | ||||
Assigned To | Ken Martin | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0002058: check for usage of ADD_CUSTOM_COMMAND too simple | ||||
Description | Hi, the makefile generator v3 reports warnings if the file generated via ADD_CUSTOM_COMMAND doesn't appear as a source file in any of the targets. This is not enough, I get lots of invalid warnings. I have two types of rules where this happens: -the generation of moc files which are included in the source file instead of being compiled separatly -the creation of an external library on which all sources depends, but which doesn't appear as a source file In both cases the output of the ADD_CUSTOM_COMMAND is added via SET_SOURCE_FILES_PROPERTIES( OBJECT_DEPENDS) as a dependency to a source file. So these manually added dependencies should also be checked before warning about unused custom rules. Or it should be possible to disable this warning :-/ As it is, it makes the messages of cmake completely unusable, since everything is flooded by these (invalid) warnings. Alex | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|