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:

  1. Click Window > Preferences.
  2. Select General > Workspace from the list.
    Workbench Properties options window
  3. On the Workspace page, select the Save automatically before build check box.
  4. Click OK.

Eclipse will now save your resources when you build a project.

Related concepts
Build overview

Related tasks
Defining Project Build settings
Building projects

Related reference
Make Builder page, C/C++ Properties window

IBM Copyright Statement