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 C Compiler or Linker.
  5. Set the options you want to apply to your the project or file compilations. You can specify option settings for one or more configurations by using the Configuration dropdown menu.
  6. Click OK.

The compiler will now apply the options that you select when you build the applicable configuration.

Tip iconTip

You can restore default settings to all properties in the selected configuration by clicking the Restore Defaults button on any property page.

Tip iconTip

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 field just as you would enter them on the command line.

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.