]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Adjust to library changes
[builder.git] / source / builder.h
index 9dca6f025fceeb8bf8a010d8480dbfbfd5285895..a4fc14b5d8b8343c99ca7fbacb0db7faafe7a73b 100644 (file)
@@ -30,7 +30,7 @@ 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
@@ -71,6 +71,7 @@ private:
        SourcePackage *main_pkg;
        PathList pkg_path;
        PathList pkg_dirs;
+       bool no_externals;
 
        TargetMap targets;
        TargetList new_tgts;
@@ -100,7 +101,6 @@ private:
        Msp::FS::Path prefix;
        StringList warnings;
 
-       static Msp::Application::RegApp<Builder> reg;
        static std::string usagemsg;
        static std::string helpmsg;