1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 17:25:38 +02:00

Binary not found in Core Build Makefile project

Fixed the problem for Core Build Makefile projects that the output
binary could not be found during launching when the user set the
Build Output Location to "Build in project directory".
The project was only looking for binaries in the "build" folder.
This commit is contained in:
Erwin Waterlander 2023-03-17 10:22:19 +00:00 committed by Jonah Graham
parent 2b297c4355
commit a6a4bfcf3b

View file

@ -84,7 +84,7 @@ public class MakefileProjectGenerator extends FMProjectGenerator {
}
}
entries.add(CoreModel.newOutputEntry(buildFolder.getFullPath()));
entries.add(CoreModel.newOutputEntry(project.getFullPath()));
CoreModel.getDefault().create(project).setRawPathEntries(entries.toArray(new IPathEntry[entries.size()]),
monitor);
}