[CMake] How to get generated dependencies

Tom Kacvinsky tom.kacvinsky at vectorcast.com
Tue Jan 12 09:58:14 EST 2016


Is there a way of invoking cmake to get the list of non-system header
dependencies, like invoking gcc with -MMD?  I need to find out the
list of non-system header dependencies and I know cmake has a way of
doing this, I just need to know if there is command I can put in the
CMakeLists.txt file to get this information...

Thanks,

Tom


More information about the CMake mailing list