X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuildercli.h;h=3b15541b6e65eed515924db15994bf6fe6bf39ca;hb=451ef4f33b5a57dcb56bd7cb671bed359ac86247;hp=77e58ca9b472c2081fca80946b2a267229633096;hpb=bde362811368647047f3ca13bdec596f092ecffe;p=builder.git diff --git a/source/buildercli.h b/source/buildercli.h index 77e58ca..3b15541 100644 --- a/source/buildercli.h +++ b/source/buildercli.h @@ -12,28 +12,26 @@ Provides a command-line interface for Builder. class BuilderCLI: public Msp::RegisteredApplication { private: - typedef std::list NameList; - - NameList cmdline_targets; + std::vector cmdline_targets; Config::InputOptions cmdline_options; Msp::FS::Path cwd; Builder builder; Logger logger; - Analyzer *analyzer; - bool build; - unsigned clean; - bool dry_run; - bool help; + Analyzer *analyzer = 0; + bool build = false; + unsigned clean = 0; + bool dry_run = false; + bool help = false; std::string helpmsg; - bool show_progress; - std::string build_file; - unsigned jobs; - NameList what_if; - bool conf_all; - bool conf_only; - bool build_all; - bool create_makefile; + bool show_progress = false; + std::string build_file = "Build"; + unsigned jobs = 1; + std::vector what_if; + bool conf_all = false; + bool conf_only = false; + bool build_all = false; + bool create_makefile = false; public: BuilderCLI(int, char **);