List of source created by Unity

Is it possible to get the list of source files created by a Unity build for a perticular executable ?

I am using cppcheck and would like it to run on the unity cxx autogenerated files. I’m getting the sources files from the SOURCES property of the executable.It returns the list of “real” source code intead of the unity build files.



Hmm. I suspect this information actually lives in compile_commands.json. Other than that, the cmake-file-api is probably the best way right now if the information is available there.