C and C++ support is provided on top of the C Development Tooling Eclipse (CDT) plugin. DVT provides the following features on top of CDT:
Installation
The CDT plugin is already bundled in DVT KIT distributions, and has to be enabled using the
dvt_kit_installer.sh script:
dvt_kit_installer.sh install CDT
This command installs the CDT plugin and the DVT CDT Integration plugin as well.
Project Natures
Right click on a project and choose
Change DVT Nature:
The
C/C++ Language nature enables basic CDT integration features: project configuration and SystemVerilog DPI cross-linking when the
SystemVerilog nature is also enabled
The
C/C++ Language Extended nature enables advanced features like C/C++ content shown in the DVT views
Project Build
During full build, DVT collects the following C/C++ specific directives from your build configuration file and uses them to configure CDT and to scan for all included C/C++ files: The
gcc args mentioned above are also collected from the strings passed to the following build configuration directives:
The C/C++ sources located outside the project directory are automatically linked inside the project under the DVT Auto-Linked folder. The C/C++ sources located inside the project but not included by the C/C++ top files specified in the build configuration are automatically excluded from the CDT build. The following DVT specific build configuration directives are available: |