Finding lost source files

Sometimes not all source files are found automatically. This can also occur, for example, if the executable or source files have been moved since compilation. To search for source files in additional directories, right-click in the Project Files tab, and select Add/view Source Directory(s). You can also specify extra source directories on the command line using the --source-dirs command-line argument (separate each directory with a colon).

It is also possible to add an individual file, if this file has moved since compilation, or is on a different (but visible) file system. To do this right-click in the Project Files tab and select Add File.

Any directories or files you have added are saved and restored when you use File ‣ Save Session or File ‣ Load Session. If Linaro DDT does not find the sources for your project, you might find these commands save you a lot of unnecessary clicking.