1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

The working directory for the build was not set by default

catch it in the MakeBuilder.
This commit is contained in:
Alain Magloire 2003-09-22 03:39:36 +00:00
parent 0fb8fc18c1
commit 7b3404edad

View file

@ -111,6 +111,9 @@ public class MakeBuilder extends ACBuilder {
removeAllMarkers(currProject);
IPath workingDirectory = info.getBuildLocation();
if (workingDirectory.isEmpty()) {
workingDirectory = currProject.getLocation();
}
String[] targets = getTargets(kind, info);
if (targets.length != 0 && targets[targets.length - 1].equals("clean")) //$NON-NLS-1$
isClean = true;