1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00
cdt/build
Christian Walther f138ad10e8 Bug 575490: "No rule" after removing last source file from root
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>
2021-11-02 12:45:10 +01:00
..
org.eclipse.cdt.autotools-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.autotools.core [releng] Update API Filters 2020-10-12 10:14:26 -04:00
org.eclipse.cdt.autotools.docs [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.autotools.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.autotools.ui Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.autotools.ui.tests Bug 573677: Use array based exec commands to avoid problems with spaces 2021-06-14 22:20:28 -04:00
org.eclipse.cdt.build.gcc.core Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.build.gcc.ui Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.autotools-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.core.autotools.core [releng] Update API Filters 2020-10-12 10:14:26 -04:00
org.eclipse.cdt.core.autotools.ui Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.gnu.build-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.make.core Bug 575730 - New Make project should handle cleaning of gcov/gprof files 2021-08-31 18:08:28 -04:00
org.eclipse.cdt.make.core.tests Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
org.eclipse.cdt.make.ui Bug 573619: Preserve UI settings in Build Targets (Make) view 2021-05-19 10:03:25 -04:00
org.eclipse.cdt.make.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.managedbuilder.core Bug 575490: "No rule" after removing last source file from root 2021-11-02 12:45:10 +01:00
org.eclipse.cdt.managedbuilder.core.tests Bug 575490: "No rule" after removing last source file from root 2021-11-02 12:45:10 +01:00
org.eclipse.cdt.managedbuilder.gnu.ui Bug 505882: Fork the GnuMakefileGenerator into non-API 2021-10-18 15:30:08 -04:00
org.eclipse.cdt.managedbuilder.headlessbuilderapp Use the launch name in the help text 2021-05-28 19:23:00 +02:00
org.eclipse.cdt.managedbuilder.ui Bug 350499: Ask user to confirm toolchain change 2021-04-25 11:26:29 -04:00
org.eclipse.cdt.managedbuilder.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.meson-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.meson.core Bug 575145 - Importing CMake/Meson Projects 2021-10-31 11:21:35 +00:00
org.eclipse.cdt.meson.docs [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.meson.ui Bug 575145 - Importing CMake/Meson Projects 2021-10-31 11:21:35 +00:00
org.eclipse.cdt.meson.ui.editor [releng] Keep empty directory 2020-10-13 21:51:09 -04:00
org.eclipse.cdt.meson.ui.tests [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
pom.xml [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00