}
dry_run=getopt['n'];
-
jobs=max(strtol(getopt['j'].arg()), 1L);
-
chrome=getopt["chrome"];
-
conf_all=getopt['A'];
+ build_file=getopt['f'].arg();
+ build_all=getopt['B'];
if(getopt['C'])
chdir(getopt['C'].arg().c_str());
- build_file=getopt['f'].arg();
-
for(int i=index; i<argc; ++i)
{
string v(argv[i]);
if((tgt=check_header(Path::Path("/usr/include/c++/4.1.2")/fn)))
return tgt;
for(list<string>::const_iterator j=path.begin(); j!=path.end(); ++j)
- if((tgt=check_header(Path::Path(*j)/fn)))
+ if((tgt=check_header(Path::getcwd()/ *j/fn)))
return tgt;
return 0;
string basename="lib"+lib+".so";
for(list<string>::const_iterator j=path.begin(); j!=path.end(); ++j)
{
- string full=(Path::Path(*j)/basename).str();
+ string full=(Path::getcwd()/ *j/basename).str();
Target *tgt=get_target(full);
if(tgt) return tgt;
if(i->second->get_buildable())
cout<<'*';
unsigned count=0;
+ unsigned ood_count=0;
for(TargetMap::iterator j=targets.begin(); j!=targets.end(); ++j)
if(j->second->get_package()==i->second)
+ {
++count;
- cout<<" ("<<count<<" targets)\n";
+ if(j->second->get_rebuild())
+ ++ood_count;
+ }
+ if(count)
+ {
+ cout<<" ("<<count<<" targets";
+ if(ood_count)
+ cout<<", "<<ood_count<<" out-of-date";
+ cout<<")\n";
+ }
}
}