class Analyzer;
+/**
+Provides a command-line interface for Builder.
+*/
class BuilderCLI: public Msp::RegisteredApplication<BuilderCLI>
{
private:
unsigned clean;
bool dry_run;
bool help;
+ std::string helpmsg;
bool show_progress;
std::string build_file;
unsigned jobs;
bool build_all;
bool create_makefile;
- static std::string usagemsg;
- static std::string helpmsg;
-
public:
BuilderCLI(int, char **);
~BuilderCLI();
virtual int main();
+private:
bool prepare_build();
+ Target *resolve_target(const std::string &);
- static void usage(const char *, const char *, bool);
void package_help();
};