#include <msp/fs/stat.h>
#include <msp/io/print.h>
#include <msp/strings/regex.h>
+#include <msp/strings/utils.h>
#include "builder.h"
#include "csourcefile.h"
#include "externaltask.h"
ExternalTask::Arguments argv;
argv.push_back(name);
argv.push_back("--version");
+ builder.get_logger().log("auxcommands", format("Running %s", join(argv.begin(), argv.end())));
ExternalTask task(argv);
task.set_stdout(ExternalTask::CAPTURE);
task.set_stderr(ExternalTask::IGNORE);
#include <msp/fs/stat.h>
#include <msp/fs/utils.h>
+#include <msp/strings/format.h>
#include "builder.h"
#include "filetarget.h"
#include "package.h"
state = REBUILD;
rebuild_reason = reason;
signal_bubble_rebuild.emit();
+
+ builder.get_logger().log("rebuild", format("Rebuilding %s: %s", name, reason));
}
void Target::build_finished(bool /*success*/)