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
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.