Replies: 1 comment
-
I did a bit diging in the source code of CDT, and I think I figured out how to get a valid CDT project with my build system and how to sync the include directories. First I have to create a project with the C and C++ Natures like before, but then I also have to create an basic .cproject file:
(copied this file from an make project after removing all not required make stuff) Then I can sync my includes using Now I only still need help with the the third problem, an custom launch configuration which launches the C/C++ debugger with my build systems run task, I probably have to pass the process id from the build system to the plugin and somehow tell the IDE to attach the debugger to it. |
Beta Was this translation helpful? Give feedback.
-
I am currently working on an custom build tool for both java and cpp (and in further maybe rust) projects.
Specifically, I am working on an Eclipse Plugin for my build tool.
So far I have a project nature for my build tool with the necessary property pages, editors and file types (buildfiles).
I also got the java integration almost complete, but I am a bit struggling with C/C++ integration.
I am able to create an CDT makefile or CDT build managed project and add my buildtool nature manually.
The buildtool is then able to compile the project, but there are some problems I am not sure how to solve with CDT, it was straight forward with JDT:
This last one is actually still work in progress even on the JDT side, but I think I figured a few things out there already.
I would be happy if someone could tell me where I should start looking in the CDT project, since I don't really have an idea where to start here.
I should mention that I am new to the eclipse platform development, this is my first plugin, but I think I already figured most of it out while writing the rest of this projects code.
Beta Was this translation helpful? Give feedback.
All reactions