Why does the CDT rebuild my C project in Ant into an unrelated project?

I have an Eclipse workspace where the CDT project lives with other unrelated projects. However, when I run "build as Ant build" in one of these projects, CDT also insists on rebuilding its projects.

Does anyone have any ideas where to look to disable this "hidden" dependency? (And no, this is not in “Related Resources” or “Project Links” ...)

+5
source share
3 answers

In general, the assembly of the workspace was caused by the fact that I could not find an option for the assembly in the "Configuration of external tools". There you can specify to build the entire workspace containing the project or a specific resource.

There is also an Eclipse error for setting a default value for something other than creating the entire workspace. (You might think that “Run as Ant build” by default will not build anything other than launching the specified Ant target.)

+3
source

- . ( ), , : "build as Ant build". .

:

# Eclipse build
org.eclipse.core.resources/debug=true
org.eclipse.core.resources/build/interrupt=true
org.eclipse.core.resources/build/invoking=true
org.eclipse.core.resources/build/needbuild=true
#Managedbuild
org.eclipse.cdt.managedbuilder.core/debug/builder=true
org.eclipse.cdt.managedbuilder.core/debug=true
org.eclipse.cdt.managedbuilder.core/debug/pathEntryInit=false
org.eclipse.cdt.managedbuilder.core/debug/pathEntry=false

Eclipse :

-debug <trace_options>.file

, Eclipse. , , , :)

+2

Build Automatically Project.

0

All Articles