[CMake] CMake and Dia , colorize cmake graphviz output

Alexander Neundorf a.neundorf-work at gmx.net
Wed Sep 11 15:10:27 EDT 2013


On Wednesday 11 September 2013, Sankar P wrote:
> Hi,
> 
> Two questions.
> 
> I found the `cmake --graphviz=<somename>.out ` to be extremely useful.
> However, is it possible to generate a .dia file instead of a .out file
> ? I see that graphviz has removed support for .dia export and that is
> probably the reason why this is not working. But is there any other
> way to generate a .dia file from a CMake based project ? I ask this
> because the dot files are not edit friendly and even the lefty tool is
> very rudimentary. I will prefer to use Dia. Suppose if I am interested
> in contributing this as a patch, if it is not available, can someone
> show a pointer on where I should start looking for cmake dependency
> graph related things ?

Most of the code is  in Source/cmGraphVizWriter.cxx

Alex


More information about the CMake mailing list