# Activating Additional Behaviors for Player

To include the behaviors part of CGI Studio in the Player, simple enable the CMake option **CGIAPP\_ENABLE\_ADDITIONAL\_BEHAVIORS** before generating the CGI Application solution with CMake.

The CMake option **CGIAPP\_ADDITIONAL\_BEHAVIOR\_PATH** is already preconfigured to include widgets part of *&lt;cgi-studio-root&gt;/cgi\_studio\_player/src/Behaviors/AdditionalBehaviorsPaths.txt*.

<div drawio-diagram="1960"><img src="https://doc316en.candera.eu/uploads/images/drawio/2023-02/drawing-4-1676872260.png" alt=""/></div>

<div class="contents" id="bkmrk--0"><div class="contents"><div class="textblock">  
</div></div></div>Following projects will be created in the solution with above cmake configuration:

<div class="contents" id="bkmrk-behaviorset-for-comp"><div class="textblock">- **BehaviorSet** for compiling WidgetSet.cpp
- **Behaviors\_Example** for compiling example behaviors defined at *&lt;cgi\_studio\_root&gt;/cgi\_studio\_player/src/Behaviors*
- **ControlBehaviors\_1** for compiling behaviors defined at *&lt;cgi\_studio\_root&gt;/cgi\_studio\_controls/src/Behaviors*

</div></div>