If "Project" > "Build Automatically" on the menu bar is checked, build is automatically executed when a resource is saved. If the developer needs to control execution of build, the checkmark can be cleared from "Build Automatically", and build can be executed manually.
To execute a build for one or more selected projects, select the projects in the "Dependency" or "Structure" view, and then select "Project" > "Build Project" from the menu bar or "Build Project" from the context menu.
A Build is executed only for the resources that have been updated since the last build.
To build all of the projects in a workspace, select "Project" > "Build All" from the menu bar.
A Build is executed only for the resources that have been updated since the last build.
To execute a build for all project resources including those not updated since the last build, select each target project for the build in the "Dependency" or "Structure" view, and then select either "Project" > " Clean..." from the menu bar or "Rebuild Project" from the context menu.
The working set is a grouping of the project and the resource. Create the working set, and divide the build targets into groups. A Build is executed only for the projects that have been updated since the last build.
Select "Project" > "Build Working Set" > "Select Working Set" from the menu bar. The "Select Working Set" dialog box appears.
Click the "New..." button. The "New Working Set" wizard appears.
Select the "Resource" in the "Working set type", and click the "Next" button.
Input an arbitrary name to the "Working set name", and select the project of working set target. Click the "Finish" button.
Select "Project" > "Build Working Set" > "Select Working Set" from the menu bar. The "Select Working Set" dialog box appears.
Select the working set, and click the "OK" button. The build of the project selected in the working set is executed.
After the build, the selected working set name is added to the submenu of "Project" > "Build Working Set". A build of the working set can be executed by the selection of this menu.
Note
When the file not included in the project is referred by the compiler option, even if the reference files that are not included in the project are changed, changing the resource for the project will not be recognized. For this reason, even if "Build project" is executed or "Build Automatically" is checked, the target file is not updated.
When the files that are not included in the project are changed, execute the "Rebuild project" for the project that is using the files.
Point
Follow the procedure below to automatically save modified resources before manual build execution.
Select "Window" > "Preferences" from the menu bar. The "Preferences" dialog box appears.
Select "General" > "Workspace" in the left pane. The "Workspace" page is displayed.
Select "Save automatically before build" on the "Workspace" page.
Click the "OK" button to close the "Preferences" page.