if(tool)
{
Target *src = tool->create_source(*this, *i);
+ if(!src)
+ continue;
+
if(tool->accepts_suffix(ext))
{
Target *obj = tool->create_target(*src);
objs.push_back(obj);
}
- if(type==LIBRARY && install && !dynamic_cast<FileTarget *>(src)->get_install_location().empty())
+ if(type==LIBRARY && install && dynamic_cast<FileTarget *>(src)->is_installable())
inst_list.push_back(src);
}
}