X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuildercli.h;h=efc2cc9bdc5431d4541ac2903d1d79a7c0c5835c;hb=HEAD;hp=ac8875231ff27ddba88fa6844edc33a31c67c115;hpb=1dad660f7bbda5ef3239fd6374e0f8a77e19eaaa;p=builder.git diff --git a/source/buildercli.h b/source/buildercli.h deleted file mode 100644 index ac88752..0000000 --- a/source/buildercli.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef BUILDERCLI_H_ -#define BUILDERCLI_H_ - -#include -#include "builder.h" - -class Analyzer; - -class BuilderCLI: public Msp::RegisteredApplication -{ -private: - typedef std::list NameList; - - NameList 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; - bool show_progress; - std::string build_file; - unsigned jobs; - NameList what_if; - bool conf_all; - bool conf_only; - bool build_all; - bool create_makefile; - - static std::string usagemsg; - static std::string helpmsg; - -public: - BuilderCLI(int, char **); - ~BuilderCLI(); - - virtual int main(); - - bool prepare_build(); - - static void usage(const char *, const char *, bool); - void package_help(); -}; - -#endif