From: Mikko Rasa Date: Sat, 21 Jul 2012 07:59:05 +0000 (+0300) Subject: Not all tools can create sources X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=412ae5814ce6be4435572b31976977a457299ed1;p=builder.git Not all tools can create sources --- diff --git a/source/component.cpp b/source/component.cpp index b486c6c..f4c63a8 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -162,6 +162,9 @@ void Component::create_targets() const if(tool) { Target *src = tool->create_source(*this, *i); + if(!src) + continue; + if(tool->accepts_suffix(ext)) { Target *obj = tool->create_target(*src);