Pregunta

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?

¿Fue útil?

Solución

I found a way:

configuration.getEditableBuilder().setBuildPath("path/to/build/directory");
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top