Setting Properties

The Intel® C++ Compiler integration with Eclipse*/CDT* lets you specify compiler, linker, and archiver options at the project and source file level.

Setting Options for Your Project

Follow these steps to set options for your project:


  1. Select your project in the Project Explorer view.

  2. From the Eclipse toolbar, select Project > Properties > C/C++ Build>Settings.

  3. Under Tool Settings, click an option category for C Compiler or Linker.


  4. Set the option(s) you want to add to your project compilations, then open other categories if necessary. You can specify option settings independently on each configuration by changing the configuration selection in the Configuration drop-down box. You can set the same option across multiple configurations with one operation. Use the Configuration drop-down box to select this mode.

  5. Click OK to complete your selections.

To reset properties to their default setting, click Restore Defaults. The Restore Defaults button appears on each property page, but the Restore Defaults action applies to ALL property pages.

Setting Options for Source Files

In addition to setting compiler options for your entire project, you can also specify options for any source file in your project.


  1. Select a source file in your project.

  2. Right-click on the source file, and select Properties from the context menu.

  3. Select C/C++ Build>Settings to display the Tool Settings for changing compiler options.

  4. Change options as described above.

  5. In the C/C++ Build dialog box, you may choose Exclude from build if you do not want the source file included in the build.


Specifying Properties

Some properties use check boxes, drop-down boxes, or other input mechanisms to specify a compiler option.

Several options let you specify arguments. Click New to add an argument to the list. Enter a valid argument for the option, then click OK.

If you want to specify an option that is not available from the Properties dialog, use the Command Line category. Enter the command line options in the Additional Options text box just as you would enter them on the command line.