Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Set Compiler Options

To use the Xcode* environment to set compiler options, including options specific to Intel® architecture:

  1. Select a target.
  2. Under the Build Settings tab, click All.
  3. Scroll down to the list of ICC Intel® C++ Compiler categories.
  4. To set an Intel® C++ Compiler Classic option in the Optimization category, scroll down to display Optimization.
  5. Select a Setting, such as Enable Interprocedural Optimization for Single File Compilation, and set the option's state. If the Quick Help inspector is visible, information about the selected option appears under Quick Help.
TIP:

Apple* has deprecated the libstdc++ library, make sure you are using the libc++ standard library.

The next time you build your project, the selected options are used in the compilation.

NOTE:
To view the settings that have changed from the established defaults, select the Levels button under Build Settings.