DVT e Language IDE User Guide
Rev. 24.1.4, 28 February 2024
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:
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.
Right click on a project and choose Change DVT Nature:
For a DVT project with any C/C++ Language nature, the build process includes a scan for C/C++ files and CDT re-indexing.
Note: By default the CDT Codan, the code analysis engine which performns semantic checks in C and C++ code, is not active. Using the +dvt_run_codan+FULL+INCR directive you can specify when CDT Codan analysis should be performed: FULL - at full build, INCR - at incremental build (for example when saving a file).
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: