How do I associate a project with both DVT and CDT?
To associate a project or remove the association of a project with DVT or CDT, just right-click on the project and choose Change DVT Nature. The dialog allows you to associate or remove the association with SystemVerilog, VHDL, e Language and C/C++.
The C/C++ language appears only when CDT and DVT CDT Integration features are installed.
Alternatively, C/C++ association can be achieved using File > New > Other and select C/C++ > Convert to a C/C++ project.