# Setting Options for a Project or File

You can specify compiler, linker, and archiver options at the project and source file level. Follow these steps to set options for a project or file:

1. Right-click a project or source file in the Project Explorer.
2. Select Properties. The property pages dialog box opens.
3. Select C/C++ Build > Settings.
4. Select the Tool Settings tab and click an option category for Intel C Compiler, Intel C++ Compiler, or Intel C++ Linker for a C++ project, or select .
5. Set the options to apply to the project or file.

   ### Note

   - Some properties use check boxes, drop-down boxes, or dialog boxes to specify compiler options. For a description on options properties, hover over the option to display a tooltip. After setting the desired options in command line syntax, select Apply.
   - To specify an option that is not available from the Properties dialog, use C/C++ Build Settings > Settings > <Compiler> > Command Line. The Compiler entry has one of the following values: Intel C++ Compiler or Intel C Compiler. Enter the command line options in the Additional Options field using command-line syntax and select Apply.
   - You can specify option settings for one or more configurations by using the Configuration drop-down menu.
6. Click Apply and Close.

The compiler applies the selected options, using the selected configurations, when building.

### Tip

To restore default settings to all properties for the selected configuration, click the Restore Defaults button on any property page.
Parent topic: Creating a Simple Project