User Guide

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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.