Autosaving on a build
You can let Eclipse save modified files whenever you perform a manual build. The files are saved before the build is performed so that the latest version of your files is built. You can view the output of the make utility in the Console view.
To save resources before manual builds:
- Click Window > Preferences.
- Select General > Workspace from the list.
- On the Workspace page, select the Save automatically before build check box.
- Click OK.
Eclipse will now save your resources when you build a project.
Defining Project Build settings
Building projects
Make Builder page, C/C++ Properties window