## Cleaning Projects

In the Project Explorer or Symbian Project Navigator views you can select a project, right-click and select Clean Project (CTRL+SHIFT+-) to remove the object and make files, and output files. The files that are removed by this command include all the intermediate files created during compilation and all the executables and import libraries created by the linker.

If you select a project and select the menu option Project > Clean... the Clean dialog appears (Figure 1). You can clean all projects or select individual projects to clean within the workspace. This method of cleaning projects performs the same operations as the Clean Project context menu option. If the Start a build immediately option is selected, then the selected project(s) are rebuilt after the clean operation.

Figure 1 - Clean project options

By default, performing a Clean Project complies with the global Clean level settings in the Build preference panel and inherited by the project on creation. You can also assign project specific clean settings in the Carbide Project Settings panel in the Properties for <project> dialog.

##### Table 1. Clean dialog — options

Name | Function
--- | ---
Clean all projects | Enable to clean all the projects in the workspace.
Clean projects selected below | Enable to clean only the selected project(s).
Start a build immediately | Rebuild the selected project(s) immediately after a clean operation.
Build the entire workspace | Build the entire workspace once the clean operation is complete.
Build only the selected projects | Build only the selected projects once the clean operation is complete.

##### Other references

- Compile Source
- Creating Projects
- Build Symbian Component
- Clean Symbian Component
- Build Package (.pkg) File
- Projects