Intel® Advisor User Guide

ID 766448
Date 3/31/2025
Public

Visible to Intel only — GUID: GUID-D8A07059-E829-4E3D-BD00-D8D8E567C45E

Document Table of Contents

Building an Application on macOS*

Use the following command line to build an executable for the running example:

clang++ -std=c++11 -DTBB_USE_THREADING_TOOLS example.cpp -ltbb

The command line define the TBB_USE_THREADING_TOOLS macro and also link the application against tbb.lib library of Intel® oneAPI Threading Building Blocks. -std=c++11 is present because the running example uses lambda expressions, which are a C++11 feature.