Setting Compiler Options

The following topic applies to Xcode*.

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 until the list of Intel® C++ Compiler XE 15.0 categories.

  4. To set an Intel® C++ Compiler option in the Optimization category, for example, 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.

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

Note

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

For more complete information about compiler optimizations, see our Optimization Notice.