I used clang's `dependency-dot` flag to create the basic data. Accomplished by adding roughly this to the cmake config.
Code: Select all
foreach(SRC ${LOVE_LIB_SRC})
set_source_files_properties(${SRC} PROPERTIES COMPILE_FLAGS "-Xclang -dependency-dot -Xclang ${SRC}.dot")
endforeach()
Not sure who could possibly care about this besides me but here it is. I've attached a zip file with the folder structure/cleaned dot files and the svgs. Also some html files that make viewing the graphs easier.
Also here's a little preview of a pretty complex one: wrap_Graphics.cpp.
Edit: An extra little bonus: dependency graph between Love's "modules". Although take this with a grain of salt cause it's the end of the day and I haven't seriously validated it yet.