For example, when I use GNU C compiler on the UNIX platform, it generates a build.log which shows all of the variables and functions (including the path they were pulled from). I want to archive this information for version control purposes.
Im afraid not. There is no built in tool that would do this for you. You can actually parse out the .prj file, since its just text and it contains a list of the headers and source files that were added into the project.