Re: [CMake] Tree-like trace of add_subdirectory & include?

2019-08-14 Thread Deij-van Rijswijk, Menno
Hi Johan, Have you tried the trace mode of CMake? I got reasonably useful results with cmake [path] [options] --trace 2>&1 | grep subdirectory Gr, Menno From: CMake mailto:cmake-boun...@cmake.org>> On Behalf Of Johan Holmberg Sent: Wednesday, August 14, 2019 11:30 AM To: cmake@cmake.org

[CMake] Tree-like trace of add_subdirectory & include?

2019-08-14 Thread Johan Holmberg
Hi! I'm trying to understand a large project built with CMake, and think it would be very helpful to get a view of which CMake-file "calls" which other CMake-file. I'm interested in the chain of calls using "add_subdirectory" and "include". I have looked at the options "--debug-output" and "--trac