Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] General concept question

Dear Ming Cheng,

You need to understand the difference between "host" and "target".
A "host" is used to change and compile the code for some "target".
In your case you may use "Eclipse IDE for committers" as a "host" and setup "Eclipse CDT for C++" as a "target"

You can read this article to get familiar with "Eclipse Target Platform":
 https://www.vogella.com/tutorials/EclipseTargetPlatform/article.html

Regards,
AF

20.12.2019 12:33, Ming Cheng пишет:

Hi All,

 

Although there are several Eclipse IDEs, but to me I may need 3:

 

Eclipse IDE for committers

Eclipse IDE/Java

And Eclipse CDT for C++

 

If I want to modify CDT code, I need Eclipse IDE for committers, Although I am struggling now to achieve this purpose, let’s assume I will make it eventually. And also assume I will have all CDT jars (whether need/should use them is another question).

 

UMLet is pure Java code and it does not need CDT in its original Eclipse plugin. I need to add CDT interface code. Because UMLet is pure java, am I supposed to use Eclipse JDT (UIDE Java) to change UMLet?

 

If yes, and since there are no CDT jars under its plugins folder,

 

“If UMLet is in an Eclipse plugin, you don't need jar files, but declare dependencies on the CDT plugins in the usual way, which makes their exported classes available no matter whether they are in jar files.”

 

How to let Eclipse JDT to compile MyUMLet with CDT function calls?

 

Of course eventually I will add this MyUMLet Eclipse plugin to Eclipse CDT for C++ to let this Eclipse to generate C++ code for me. If I use my ugly way to add modified CDT jars got from committer on my PC to Eclipse JDT and eventually merged into MyUMLet Eclipse plugin, when I run this plugin inside Eclipse CDT for C++, would there be 2 copies of CDT jars within Eclipse CDT for C++?

 

Thanks.

Sent from Mail for Windows 10

 


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev


Back to the top