Re: [GNC-dev] Dependency graphs

2020-02-09 Thread Christian Gruber

Hi Geert,

I tried to generate a dependency graph now as well using CMake. And I 
played around a little bit with configuration using a 
CMakeGraphVizOptions.cmake 
 file.


I have two suggestions:

 * set(GRAPHVIZ_EXTERNAL_LIBS OFF)
 * set(GRAPHVIZ_IGNORE_TARGETS "test-*")

Furthermore it seems useful to set graph attribute rankdir to "LR" when 
invoking dot (-Grankdir=LR).


I attached a dependency graph using these settings built from current 
maint branch.


I was wondering why there are no scheme targets included. But then I saw 
that CMake is currently not able to include custom targets into the 
dependency graphs and scheme targets are custom targets.


Regards,
Christian


Am 08.12.19 um 14:55 schrieb Geert Janssens:

While discussing cmake target dependencies on irc with Chris I started
wondering how hard it would be to visualize our current dependency tree.

Turns out with cmake it's pretty straightforward to export the dependency info
in a format that's understood by the graphviz tool.

So I have created two graphs: one for current maint and one for current
master.

My plan is to put them in the wiki for reference, together with the commands
used to create them. Currently the wiki won't allow uploads of svg files, so
that bit has to wait some more.

Meanwhile I'll post them here for those interested.

Regards,

Geert

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Dependency graphs

2019-12-09 Thread Geert Janssens
Op maandag 9 december 2019 03:24:36 CET schreef David Cousens:
> They're pretty impressive Geert. I had them spread across 3x24 " monitors in
> GIMP to be able to see enough to start to make sense of them.
> 
> David

Yes, they illustrate gnucash is really a complex project. Part of this I 
suspect/hope we can still improve by some refactoring and cmake configuration 
cleanups. I believe our code base still suffers from an autotools past. There 
used to be lots of spaghetti style dependencies in there which trip me up 
regularly.

Regards,

Geert


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Dependency graphs

2019-12-08 Thread David Cousens
They're pretty impressive Geert. I had them spread across 3x24 " monitors in
GIMP to be able to see enough to start to make sense of them.

David



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel