# Enabling a Community Preview Feature

A Community Preview feature may be defined completely in header files or it may require some additional support defined in a library.

For a CP feature that is contained completely in header files, a feature-specific macro must be defined before inclusion of the header files.

Example

    #define TBB_PREVIEW_FOO 1
     #include "tbb/foo.h"

If a CP feature requires support from a library, then an additional library must be linked with the application.

The use of separate headers, feature-specific macros and separate libraries mitigates the impact of Community Preview features on other product features.

### Note

Unless a CP feature is explicitly enabled using the above mechanisms, it will have no impact on the application.

Parent topic: Community Preview Features