Headless build with CDT using .cproject configuration

I have an eclipse project with .project and .cproject, and I want to automate the build process because I use

./eclipse -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data / home / user / workspace / -build Application

but it does not use the .cproject file for assembly, how do I use the .cproject configuration for the construction process?

thank

+1
source share
1 answer

If your project is a makefile project, just do what François said in the comments.

If you are trying to create a specific configuration, it depends on which version of the CDT you have, as if you could do it.

, . CDT 7.0, , CDT 7.0, . -build App/Config -build App.

(: eclipse CDT 7.0.2, , , - , CDT 8.0 ).

+3

All Articles