Updating Dependencies in a Project
Dependencies are updated every time the project is built using either Build, Rebuild All, or Batch Build. Dependencies for C and C++ files are generated by the C/C++ compiler during the build process. Dependencies for other types of source files are generated by the build system's dependency scanner.
Using Update All Dependencies causes the compiler generated dependencies to be read and non C/C++ source files to be scanned for dependencies. Therefore, the dependency information for C/C++ files will not reflect any changes made since the last build.
To update the dependencies
On the Build menu, click Update All Dependencies.
In the Update All Dependencies box, select the project you want to update the list for.
Note The External Dependencies folder in the FileView window of the project workspace is also updated after each build or if you choose Update All Dependencies.