mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
![]() Pre-build will always run in parallel to compilation of source files unless each and every source file depends on pre-build. Also, when parallel build was enabled, the "Make build target" under "Workbench Build Behavior" was ignored. Instead of doing make -j all, Eclipse ran make -j pre-build main-build. While the intentions are good, make will attempt to build pre-build and main-build in parallel for previous stated reasons. This patch changes two things: 1. Eclipse will consistently respect the "Workbench Build Behavior" for both single- and multi-process build. 2. The generated makefile is changed to guarantee pre-build is run first. Changed from all: pre-build main-build to all: $(MAKE) --no-print-directory pre-build $(MAKE) --no-print-directory main-build Change-Id: Icf3a1057ee3b3cc8a04a433820492a4f469e17dd Signed-off-by: Morten Kristiansen <millibit@gmail.com> |
||
---|---|---|
.. | ||
org.eclipse.cdt.autotools-feature | ||
org.eclipse.cdt.autotools.core | ||
org.eclipse.cdt.autotools.docs | ||
org.eclipse.cdt.autotools.source-feature | ||
org.eclipse.cdt.autotools.tests | ||
org.eclipse.cdt.autotools.ui | ||
org.eclipse.cdt.autotools.ui.tests | ||
org.eclipse.cdt.build.gcc.core | ||
org.eclipse.cdt.cmake-feature | ||
org.eclipse.cdt.cmake.core | ||
org.eclipse.cdt.cmake.ui | ||
org.eclipse.cdt.gnu.build-feature | ||
org.eclipse.cdt.gnu.build.source-feature | ||
org.eclipse.cdt.make.core | ||
org.eclipse.cdt.make.core.tests | ||
org.eclipse.cdt.make.ui | ||
org.eclipse.cdt.make.ui.tests | ||
org.eclipse.cdt.managedbuilder.core | ||
org.eclipse.cdt.managedbuilder.core.tests | ||
org.eclipse.cdt.managedbuilder.gnu.ui | ||
org.eclipse.cdt.managedbuilder.ui | ||
org.eclipse.cdt.managedbuilder.ui.tests |