문제

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?

도움이 되었습니까?

해결책

I found a way:

configuration.getEditableBuilder().setBuildPath("path/to/build/directory");
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top