summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphVizWriter.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Also generate dependers-graphviz files.Alex Neundorf2011-02-061-0/+133
| | | | | | | | | | | With this commit, the --graphviz option now also generates dot files which show which other targets depend on some target. So, now there is * a global dot-file which shows all targets and dependencies * a dot file which shows on what a target Foo depends * a dot file which shows which other targets depend on Foo Alex
* GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressionsAlex Neundorf2011-02-051-22/+30
| | | | | | | | | This is similar e.g. to CTEST_CUSTOM_WARNING_EXCEPTION from ctest. GRAPHVIZ_TARGET_IGNORE_REGEX is not supported anymore. I hope this is ok, since this was 100% undocumented and can't break a build. Alex
* Make it possible to exlude external libs from dot filesAlex Neundorf2011-02-051-2/+7
| | | | | | | | | Patch from Christian Ehrlicher. By setting GRAPHVIZ_EXTERNAL_LIBS to TRUE in CMakeGraphVizOptions.cmake you can now exclude external libraries from the produced dot file. I.e. then you see only the dependencies within your project. Alex
* Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is usedAlex Neundorf2011-02-041-0/+6
| | | | | | | GraphVizWriter could crash if GRAPHVIZ_TARGET_IGNORE_REGEX was set. Patch from Christian Ehrlicher. Alex
* Exclude targets from the graphviz file based on a regexAlex Neundorf2010-11-141-1/+19
| | | | | | | | | This commit adds support for a GRAPHVIZ_TARGET_IGNORE_REGEX variable which can be set() in CMakeGraphVizOptions.cmake. Targets matching this regex will be skipped when generating the graphviz graphs. Alex
* Collect targets and libs on demand instead of in the ctorAlex Neundorf2010-11-141-4/+18
| | | | | | | This is necessary for the next commit which requires that the targets are collected after the settings have been read. Alex
* Use std::cout instead of fprintfAlex Neundorf2010-11-141-2/+3
| | | | Alex
* Enable/disable generating graphs depending on the target typeAlex Neundorf2010-11-141-8/+40
| | | | | | | | | In CMakeGraphVizOptions.cmake you can now set GRAPHVIZ_EXECUTABLES, GRAPHVIZ_STATIC_LIBS, GRAPHVIZ_SHARED_LIBS and GRAPHVIZ_MODULE_LIBS to TRUE or FALSE depending on whether you want graphs for the targets of the respective types. Alex
* Move the code for generating dot-files into separate class cmGraphVizWriterAlex Neundorf2010-11-091-0/+370
Alex