if(mode==RDEPS)
{
rdepends.clear();
- const TargetMap &targets = builder.get_targets();
- for(TargetMap::const_iterator i=targets.begin(); i!=targets.end(); ++i)
+ const Builder::TargetMap &targets = builder.get_targets();
+ for(Builder::TargetMap::const_iterator i=targets.begin(); i!=targets.end(); ++i)
{
const TargetList &depends = i->second->get_depends();
for(TargetList::const_iterator j=depends.begin(); j!=depends.end(); ++j)
void option(const std::string &, const std::string &);
};
+public:
+ typedef std::map<std::string, Target *> TargetMap;
+
+private:
typedef std::list<Package *> PackageList;
typedef std::map<std::string, Package *> PackageMap;
typedef std::map<std::string, StringMap> ProfileTemplateMap;
if(name=="@src")
{
- const TargetMap &targets = builder.get_targets();
- for(TargetMap::const_iterator i=targets.begin(); i!=targets.end(); ++i)
+ const Builder::TargetMap &targets = builder.get_targets();
+ for(Builder::TargetMap::const_iterator i=targets.begin(); i!=targets.end(); ++i)
if(i->second->get_package()==&pkg && !i->second->is_buildable())
result->add_depend(i->second);
files.push_back(pkg.get_source()/"Build");
virtual void build_done();
};
-typedef std::map<std::string, Target *> TargetMap;
-
#endif