mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +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> |
||
---|---|---|
.. | ||
CDTFortranTest1 | ||
CDTFortranTest2 | ||
copyandDeploy | ||
deleteFile | ||
inputTypeOption | ||
linkedFolder | ||
linkedLib30 | ||
multiResConfig | ||
noFilesToBuild | ||
preAndPostBuildSteps | ||
rcbsBasicTest | ||
singleFileExe | ||
test with spaces | ||
test30_1 | ||
test30_2 | ||
TestATO | ||
testFileWithNoExtension | ||
testMacroSupportInBuildDefinitions | ||
twoFileSO |