MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013809 | CMake | CMake | public | 2012-12-21 09:04 | 2016-06-10 14:31 | |||||
Reporter | Vassil Vassilev | |||||||||
Assigned To | Kitware Robot | |||||||||
Priority | normal | Severity | feature | Reproducibility | always | |||||
Status | closed | Resolution | moved | |||||||
Platform | trunk | OS | OS X | OS Version | 10.4.10 | |||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0013809: add_dependencies and --graphviz | |||||||||
Description | Hi, I am using cmake in the context of C# and I don't use add_library or add_executable but I have my own functions that do that trick. I resolve the dependencies between the libraries (since have my home-grown csharp_add_library) using add_dependencies. Using that however doesn't allow me to print the dependencies between the targets, which is something IMO natural to expect. Am I doing something wrong in general or somebody just has to teach cmGraphVizWriter to react on cmTarget::UTILITY? If that is the case I can propose the attached patch. Cheers, Vassil PS1: Note that I am newbie (I've started using cmake 3 days ago). PS2: I had hard time building cmake sources in debug mode. Why there is no ./bootstrap --enable-debug switch? | |||||||||
Steps To Reproduce | 1. add_custom_target(... libA ...) 2. add_custom_target(... libB ...) 3. add_dependencies(libA libB) 4. cmake --graphviz=file.dot path_to_some_source | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4602/cmGraphVizWriterPlusUtility.diff ![]() https://public.kitware.com/Bug/file/5479/0001-Update-a-wrong-comment.-It-was-maybe-correct-a-long-.patch ![]() https://public.kitware.com/Bug/file/5480/0001-Update-documentation-of-cmTarget-AddUtility.patch ![]() https://public.kitware.com/Bug/file/5481/0002-graphviz-Enable-support-for-utility-dependencies-and.patch | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-12-21 09:04 | Vassil Vassilev | New Issue | ||||||||
2012-12-21 09:04 | Vassil Vassilev | File Added: cmGraphVizWriterPlusUtility.diff | ||||||||
2015-06-23 19:03 | Andreas Hartmetz | File Added: 0001-Update-a-wrong-comment.-It-was-maybe-correct-a-long-.patch | ||||||||
2015-06-23 19:04 | Andreas Hartmetz | File Added: 0001-Update-documentation-of-cmTarget-AddUtility.patch | ||||||||
2015-06-23 19:05 | Andreas Hartmetz | File Added: 0002-graphviz-Enable-support-for-utility-dependencies-and.patch | ||||||||
2015-06-23 19:07 | Andreas Hartmetz | Note Added: 0038963 | ||||||||
2015-06-25 10:49 | awinterz | Note Added: 0038983 | ||||||||
2015-06-30 08:56 | Brad King | Relationship added | related to 0015636 | |||||||
2015-06-30 09:55 | Brad King | Note Added: 0039002 | ||||||||
2015-06-30 18:39 | Andreas Hartmetz | Note Added: 0039003 | ||||||||
2015-07-02 08:41 | Brad King | Note Added: 0039012 | ||||||||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042179 | ||||||||
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 | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|