X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Ftool.h;h=a6bd322a762b0bce5ccc609990870efe1c78a030;hb=c5d6d6d6d76189b9b2937295709b85654780e9db;hp=b756563242ba4099152f0ce125bd93a6504d9ffb;hpb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;p=builder.git diff --git a/source/lib/tool.h b/source/lib/tool.h index b756563..a6bd322 100644 --- a/source/lib/tool.h +++ b/source/lib/tool.h @@ -142,6 +142,7 @@ protected: virtual void do_prepare(ToolData &) const { } public: + bool is_broken() const { return !problems.empty(); } const std::vector &get_problems() const { return problems; } /** Invokes the tool to build a target. This should not be called directly;