Question

I am creating an Eclipse plugin that creates a C project which will be compiled with a makefile. I want to change the build dirctory of the C/C++ project. I don't want to change it manually (right click -> properties -> C/C++ build -> Builder Settings -> Build directiry), but to change it using Java code in my Plugin project. Can you help me please?

Était-ce utile?

La solution

I found a way:

configuration.getEditableBuilder().setBuildPath("path/to/build/directory");
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top