in cmake-runner-agent/src/jetbrains/buildServer/cmakerunner/agent/output/MakeParserManager.java [50:76]
void directoryStart(@NotNull String directory, int level) {
directory = PathUtil.toUnixStylePath(directory);
if (!hasTargets()) {
// Starting new Main task
final String targetName = getNextMainTarget();
final String targetDescription = targetName != null ? "Making " + targetName + " in ." : "Making unknown target in .";
myBlocksStack.push(new Target(myWorkingDirectory.get(), targetDescription, 0));
myLogger.blockStart(targetDescription);
if (isWorkingDirectory(directory)) {
printPostponedMessages();
return;
}
}
final String relativePath = getRelativePath(getPrevTargetDirectory(), directory);
if (!isWorkingDirectory(directory) && !StringUtil.isEmpty(relativePath)) {
if (level == -1) level = getPrevTargetLevel() + 1;
final String description = toPrintAfterDirectoryStart.isEmpty() ? relativePath : toPrintAfterDirectoryStart.peek();
@SuppressWarnings({"ConstantConditions"})
final Target mt = new Target(directory, description, level);
myBlocksStack.push(mt);
myLogger.blockStart(description);
printPostponedMessages();
} else if (isWorkingDirectory(directory)) {
printPostponedMessages();
}
}