From 57566d59dc01a259b4022696344215bb674ea89d Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 1 Mar 2022 15:18:22 +0100 Subject: tool: at the earliest possible moment confirm the target In this way the user gets an early feedback about the target that was requested and can check if that was the target they had in mind, especially in the case of fall back to the alphabetically first one (according to native byte order). As a nice side effect, we have a timestap on when the analysis started. --- src/buildtool/main/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index eb555a8c..422b1658 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -620,6 +620,7 @@ struct AnalysisResult { &source_targets, &targets_file_map, &rule_map, result_map, jobs); auto id = ReadConfiguredTarget(clargs, main_repo, main_ws_root); + Logger::Log(LogLevel::Info, "Requested target is {}", id.ToString()); std::shared_ptr target{}; bool failed{false}; -- cgit v1.2.3