[CMake] build dependency graph?

Anders Wallin anders.e.e.wallin at gmail.com
Tue May 3 16:19:29 EDT 2011


Hi all,
I'm trying this to generate a graphviz dependency graph
http://www.cmake.org/Wiki/CMake:For_CMake_Hackers

however I have most of my code in sub-directories with their own
CMakeLists.txt files which are included from the root directory
CMakeLists.txt using
ADD_SUBDIRECTORY( ${myproject_SOURCE_DIR}/dir1  )

it seems the generated graphviz dot file only contains dependencies
for files in ${myproject_SOURCE_DIR} but not from the subdirectories.
Is there any way around this?

AW


More information about the CMake mailing list