On Tuesday 03 May 2011, Anders Wallin wrote: > 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?
Which version of cmake are you using ? This works best with the most recent version, in versions before 2.8.2 I think it was not really working. Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
