[CMake] Dependency scanning for non-supported languages?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Dec 30 12:48:50 EST 2009


On Wednesday 30 December 2009, Talin wrote:
> What's the recommended way in CMake to do automated dependency generation
> for languages that aren't directly supported by CMake? Suppose my compiler
> generates an output file which contains a list of all the source files that
> were used to make it, and I have some tool that can extract this
> information. Is there some way I can get CMake to use this information in
> subsequent builds?

The supported languages (C/C++, Fortran, somewhat Java and asm) have built-in 
C++ code for that in CMake (e.g. cmDependsC.cxx).
I'm not aware of another possibility to do that.

Alex


More information about the CMake mailing list