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:
parent
0fb8fc18c1
commit
7b3404edad
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue