mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
![]() Include the top-level subdir.mk only when one was actually generated (i.e. when there are source files there), just like for all other subdir.mk, otherwise a stale one from earlier when there were source files that have since been removed may be picked up, causing "No rule to make target" errors. In some cases (from bug 303953), the removal would be noticed and the stale subdir.mk be overwritten by a correct empty one, avoiding the error, but not in the following cases: - When CommonBuilder.performCleanning() decides that a full rebuild is needed, regenerateMakefiles() is called instead of generateMakefiles(), which doesn't get the delta. - When the refresh in which Eclipse notices the removed source file happens as part of a build (one that probably failed because the makefiles weren't updated yet), the next build after that apparently does not get the delta containing the removal anymore. Change-Id: Id15b424f02dd5c513d2124620c0c8699d61874fd Signed-off-by: Christian Walther <walther@indel.ch> |
||
---|---|---|
.. | ||
org.eclipse.cdt.autotools-feature | ||
org.eclipse.cdt.autotools.core | ||
org.eclipse.cdt.autotools.docs | ||
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.build.gcc.ui | ||
org.eclipse.cdt.core.autotools-feature | ||
org.eclipse.cdt.core.autotools.core | ||
org.eclipse.cdt.core.autotools.ui | ||
org.eclipse.cdt.gnu.build-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.headlessbuilderapp | ||
org.eclipse.cdt.managedbuilder.ui | ||
org.eclipse.cdt.managedbuilder.ui.tests | ||
org.eclipse.cdt.meson-feature | ||
org.eclipse.cdt.meson.core | ||
org.eclipse.cdt.meson.docs | ||
org.eclipse.cdt.meson.ui | ||
org.eclipse.cdt.meson.ui.editor | ||
org.eclipse.cdt.meson.ui.tests | ||
pom.xml |