[CMake] Extracting the build order for a target

Jackson, Charles W. (LARC-D302) charles.w.jackson at nasa.gov
Thu Jun 27 13:09:27 EDT 2019


Hello,

I was wondering if there was a way to extract the dependencies/build
order for a target? I know you can create graphs of the dependicies
using graphviz but what I really want is just a list of files in the
build order (whatever order the files would be built in if the build
was serial).

I would like this so that we can concatonate all of our Fortran source
files into a single file for interface checking (since there is only a
limited use of modules or explicit interfaces).

Thanks,
Chip


More information about the CMake mailing list