]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Installing only makes sense for file targets
[builder.git] / source / builder.h
index 99b380497b7422809dcb9d686e518a6aec83f543..78244e8c2980081bfcfb43ff85558cad443cddad 100644 (file)
@@ -9,6 +9,7 @@
 #include <msp/fs/path.h>
 #include "architecture.h"
 #include "config.h"
+#include "logger.h"
 #include "misc.h"
 #include "packagemanager.h"
 #include "problem.h"
@@ -70,7 +71,6 @@ private:
        SourcePackage *main_pkg;
 
        TargetMap targets;
-       TargetList new_tgts;
 
        Architecture native_arch;
        Architecture *current_arch;
@@ -78,6 +78,7 @@ private:
        ProfileTemplateMap profile_tmpl;
        Toolchain toolchain;
        VirtualFileSystem vfs;
+       Logger logger;
 
        ProblemList problems;
        Analyzer *analyzer;
@@ -85,7 +86,6 @@ private:
        unsigned clean;
        bool dry_run;
        bool help;
-       unsigned verbose;
        bool show_progress;
        std::string build_file;
        unsigned jobs;
@@ -105,7 +105,6 @@ public:
        ~Builder();
 
        int main();
-       unsigned get_verbose() const { return verbose; }
        bool get_dry_run() const { return dry_run; }
 
        PackageManager &get_package_manager() { return package_manager; }
@@ -125,6 +124,7 @@ public:
 
        const Toolchain &get_toolchain() const { return toolchain; }
        VirtualFileSystem &get_vfs() { return vfs; }
+       const Logger &get_logger() const { return logger; }
 
        /** Adds a target to both the target map and the new target queue.  Called
        from Target constructor. */