Developer Guide and Reference

Contents

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 to the list of
    ICC Intel® C++ Compiler
    categories.
  4. To set an Intel®
    C++
    Compiler 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
    .
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.
To view the settings that have changed from the established defaults, select the
Levels
button under
Build Settings
.