To use the Xcode* environment to set compiler options, including options specific to Intel® architecture:
- Select a target.
- Under the
Build Settings tab, click
All.
- Scroll down to the list of
ICC Intel® C++ Compiler categories.
- To set an
Intel® C++ Compiler Classic option in the
Optimization category, scroll down to display
Optimization.
- 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.