It's all about the answers!

Ask a question

how to do C++ development with Eclipse CDT and RTC?

Karthik Krishnan (8825118163) | asked Apr 07 '16, 10:53 a.m.
We are using Eclipse CDT (Luna 4.4.1) with RTC 5.0.2 for C & C++ development

All our components have .Project file  and most of the components contains c/c++ code and needed for compilation

We load each component as one "Eclipse project". With this, the C++ indexer doesn't run and cannot resolve all links
So what we do is create a dummy C /c++ project and in that folder load the workspace. With this the indexer works but unfortunately the "Team" context menu doesn't show any "RTC related" items. See attachment 
Are there any tips / best practices on how we can use RTC for C & C++ development?

One answer

permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 09 '16, 1:58 p.m.
In order to have your project root directory under version control, as well as having your project broken up into multiple RTC components, you will need the "nested loading" feature introduces in 6.x.   In 5.0.2, the best you can do is to put all the files and directories in your project root directory under version control, but the project root directory itself cannot be under version control (unless you put your entire project into a single RTC component).

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.