How can I get the list of dependencies of cmake target? August 16, 2023 by Tarik You can use CMake’s “dependency graphs generator”. Please read this link for details cmake --graphviz=test.dot . ...