class Analyzer;
class Config;
+class FileTarget;
class Package;
class SourcePackage;
+class VirtualTarget;
/**
The main application class. Controls and owns everything. Rules the world.
*/
-class Builder: public Msp::Application
+class Builder: public Msp::RegisteredApplication<Builder>
{
private:
class Loader: public Msp::DataFile::Loader
SourcePackage *main_pkg;
PathList pkg_path;
PathList pkg_dirs;
+ bool no_externals;
TargetMap targets;
TargetList new_tgts;
Msp::FS::Path prefix;
StringList warnings;
- static Msp::Application::RegApp<Builder> reg;
static std::string usagemsg;
static std::string helpmsg;
/** Adds a target to both the target map and the new target queue. Called
from Target constructor. */
- void add_target(Target *);
+ void add_target(FileTarget *);
+ void add_target(VirtualTarget *);
void problem(const std::string &, const std::string &);