public:
AndroidApplicationComponent(SourcePackage &, const std::string &);
- virtual void create_targets() const;
+ void create_targets() const override;
};
#endif
public:
AndroidAssetPackagingTool(Builder &, const AndroidSdk &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
AndroidCompiler(Builder &, const Architecture &, const std::string &, const AndroidNdk &);
protected:
- virtual void do_prepare();
+ void do_prepare() override;
};
#endif
public:
AndroidLinker(Builder &, const Architecture &, const AndroidNdk &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
};
#endif
public:
AndroidManifestFile(Builder &, const AndroidApplicationComponent &);
- virtual const char *get_type() const { return "AndroidManifestFile"; }
+ const char *get_type() const override { return "AndroidManifestFile"; }
void set_native_library(SharedLibrary *);
SharedLibrary *get_native_library() const { return native_lib; }
Worker(const AndroidManifestFile &);
private:
- virtual void main();
+ void main() override;
};
public:
AndroidManifestGenerator(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
public:
AndroidPackageFile(Builder &, const Component &, AndroidResourceBundle &, const std::list<FileTarget *> &);
- virtual const char *get_type() const { return "AndroidPackageFile"; }
+ const char *get_type() const override { return "AndroidPackageFile"; }
};
#endif
public:
AndroidResourceBundle(Builder &, const Component &, AndroidManifestFile &, const std::list<FileTarget *> &);
- virtual const char *get_type() const { return "AndroidResourceBundle"; }
+ const char *get_type() const override { return "AndroidResourceBundle"; }
};
#endif
public:
AndroidResourceFile(Builder &, const Component &, const Msp::FS::Path &);
- virtual const char *get_type() const { return "AndroidResourceFile"; }
+ const char *get_type() const override { return "AndroidResourceFile"; }
};
#endif
private:
void find_build_tools_dir();
- virtual void init_api_level(unsigned);
+ void init_api_level(unsigned) override;
public:
const Msp::FS::Path &get_build_tools_dir() const { return build_tools_dir; }
static Msp::FS::Path create_default_path(const AndroidSdk &);
void find_toolchain_dir();
- virtual void init_api_level(unsigned);
+ void init_api_level(unsigned) override;
public:
const Msp::FS::Path &get_bin_dir() const { return bin_dir; }
public:
ApkBuilder(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
protected:
- virtual void do_prepare();
+ void do_prepare() override;
public:
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
Binary(Builder &, const Component &, const std::string &, const std::list<ObjectFile *> &);
public:
- virtual void collect_build_info(BuildInfo &) const;
+ void collect_build_info(BuildInfo &) const override;
protected:
- virtual void find_dependencies();
+ void find_dependencies() override;
};
#endif
Type get_type() const { return type; }
- virtual void create_build_info();
- virtual void update_exported_build_info(BuildInfo &) const;
- virtual void create_targets() const;
+ void create_build_info() override;
+ void update_exported_build_info(BuildInfo &) const override;
+ void create_targets() const override;
};
#endif
static BinaryPackage *from_flags(Builder &, const std::string &, const Flags &, const Flags & = Flags());
private:
static void process_flags(const Flags &, BuildInfo &);
- virtual void do_prepare();
+ void do_prepare() override;
};
#endif
BuilderCLI(int, char **);
~BuilderCLI();
- virtual int main();
+ int main() override;
private:
bool prepare_build();
void add_task(Task *);
- virtual std::string get_command() const;
- virtual void start();
- virtual Status check();
- virtual Status wait();
+ std::string get_command() const override;
+ void start() override;
+ Status check() override;
+ Status wait() override;
private:
bool process(Status);
};
Worker(const CompileCommandsJson &);
private:
- virtual void main();
+ void main() override;
};
public:
CompileCommandsGenerator(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
public:
CompileCommandsJson(Builder &, const SourcePackage &);
- virtual const char *get_type() const { return "CompileCommandsJson"; }
+ const char *get_type() const override { return "CompileCommandsJson"; }
protected:
- virtual void find_dependencies();
+ void find_dependencies() override;
};
#endif
public:
Worker(const InstalledFile &);
private:
- virtual void main();
+ void main() override;
};
public:
Copy(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
CSourceFile(Builder &, const Msp::FS::Path &);
CSourceFile(Builder &, const Component &, const Msp::FS::Path &);
- virtual const char *get_type() const { return "CSourceFile"; }
+ const char *get_type() const override { return "CSourceFile"; }
const IncludeList &get_includes() const { return includes; }
protected:
virtual void parse_includes(Msp::IO::Base &);
- virtual void find_dependencies();
- virtual void modified();
+ void find_dependencies() override;
+ void modified() override;
};
#endif
static Msp::FS::Path generate_target_path(const Component &, const Msp::FS::Path &);
public:
- virtual const char *get_type() const { return "DataCollection"; }
+ const char *get_type() const override { return "DataCollection"; }
DataTransform &get_source() const { return source; }
private:
- virtual void find_dependencies();
+ void find_dependencies() override;
};
#endif
static Msp::FS::Path generate_target_path(const Component &);
public:
- virtual const char *get_type() const { return "DataPack"; }
+ const char *get_type() const override { return "DataPack"; }
const FileList &get_files() const { return files; }
};
public:
DataPackComponent(SourcePackage &, const std::string &);
- virtual void create_targets() const;
+ void create_targets() const override;
};
#endif
DataSourceFile(Builder &, const Msp::FS::Path &);
DataSourceFile(Builder &, const Component &, const Msp::FS::Path &);
- virtual const char *get_type() const { return "DataSourceFile"; }
+ const char *get_type() const override { return "DataSourceFile"; }
};
#endif
public:
DataTool(Builder &);
- virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
- virtual Task *run(const Target &) const;
+ Target *create_source(const Component &, const Msp::FS::Path &) const override;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ std::string create_build_signature(const BuildInfo &) const override;
+ Task *run(const Target &) const override;
};
#endif
public:
DataTransform(Builder &, const Component &, const Msp::FS::Path &);
- virtual const char *get_type() const { return "DataTransform"; }
+ const char *get_type() const override { return "DataTransform"; }
private:
- virtual void find_dependencies();
+ void find_dependencies() override;
};
#endif
Executable(Builder &, const Msp::FS::Path &);
Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
- virtual const char *get_type() const { return "Executable"; }
+ const char *get_type() const override { return "Executable"; }
};
#endif
static Msp::FS::Path generate_target_path(const Component &);
public:
- virtual const char *get_type() const { return "ExportDefinitions"; }
+ const char *get_type() const override { return "ExportDefinitions"; }
};
#endif
name. If the working directory is not specified, no chdir is done. */
ExternalTask(const Arguments &, const Msp::FS::Path & = Msp::FS::Path());
- virtual ~ExternalTask();
+ ~ExternalTask();
- virtual std::string get_command() const;
- virtual void start();
- virtual Status check();
- virtual Status wait();
+ std::string get_command() const override;
+ void start() override;
+ Status check() override;
+ Status wait() override;
private:
Status do_wait(bool);
File(Builder &b, const Msp::FS::Path &t): FileTarget(b, t) { }
File(Builder &b, const SourcePackage &p, const Msp::FS::Path &t): FileTarget(b, p, t) { }
- virtual const char *get_type() const { return "File"; }
+ const char *get_type() const override { return "File"; }
};
#endif
void touch();
protected:
- virtual void check_rebuild();
+ void check_rebuild() override;
virtual std::string create_build_signature() const;
- virtual void build(Task &);
+ void build(Task &) override;
- virtual void build_finished(bool);
+ void build_finished(bool) override;
public:
- virtual void clean();
+ void clean() override;
};
#endif
public:
GnuArchiver(Builder &, const Architecture &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ std::string create_build_signature(const BuildInfo &) const override;
+ Task *run(const Target &) const override;
};
#endif
public:
GnuCompiler(Builder &, const Architecture &, const std::string &);
- virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
- virtual Target *create_source(const Msp::FS::Path &) const;
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
+ Target *create_source(const Component &, const Msp::FS::Path &) const override;
+ Target *create_source(const Msp::FS::Path &) const override;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ std::string create_build_signature(const BuildInfo &) const override;
protected:
- virtual void do_prepare();
+ void do_prepare() override;
void prepare_syspath();
void prepare_version();
void prepare_version(const std::string &);
public:
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
public:
Linker(GnuLinker &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
+ std::string create_build_signature(const BuildInfo &) const override;
private:
- virtual void do_prepare();
+ void do_prepare() override;
public:
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
Linker *default_linker;
GnuLinker(Builder &, const Architecture &);
~GnuLinker();
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Target *create_install(Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Target *create_install(Target &) const override;
protected:
- virtual void do_prepare();
+ void do_prepare() override;
public:
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
static std::string generate_filename(const Component &, const SharedLibrary &);
public:
- virtual const char *get_type() const { return "ImportLibrary"; }
+ const char *get_type() const override { return "ImportLibrary"; }
SharedLibrary *get_shared_library() const { return shared_lib; }
};
public:
InstallComponent(SourcePackage &, const std::string &);
- virtual void create_targets() const;
+ void create_targets() const override;
};
#endif
static Msp::FS::Path generate_target_path(const Msp::FS::Path &, const FileTarget &i, const std::string &);
public:
- virtual const char *get_type() const { return "InstalledFile"; }
+ const char *get_type() const override { return "InstalledFile"; }
FileTarget &get_source() const { return source; }
/** Sets a symlink for the file. A relative path will be rooted at the
const Msp::FS::Path &get_symlink() const { return link; }
- virtual Target *get_real_target();
+ Target *get_real_target() override;
private:
- virtual void check_rebuild();
+ void check_rebuild() override;
public:
- virtual void clean();
+ void clean() override;
};
#endif
InternalTask(Worker *);
~InternalTask();
- virtual std::string get_command() const { return "<internal>"; }
- virtual void start();
- virtual Status check();
- virtual Status wait();
+ std::string get_command() const override { return "<internal>"; }
+ void start() override;
+ Status check() override;
+ Status wait() override;
};
#endif
public:
JarSigner(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
public:
MingwDllTool(Builder &, const Architecture &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Target *create_install(Target &) const;
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Target *create_install(Target &) const override;
+ Task *run(const Target &) const override;
};
#endif
public:
MsvcArchiver(Builder &, const Architecture &, const MicrosoftTools &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ std::string create_build_signature(const BuildInfo &) const override;
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
public:
MsvcCompiler(Builder &, const Architecture &, const std::string &, const MicrosoftTools &);
- virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
- virtual Target *create_source(const Msp::FS::Path &) const;
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
+ Target *create_source(const Component &, const Msp::FS::Path &) const override;
+ Target *create_source(const Msp::FS::Path &) const override;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ std::string create_build_signature(const BuildInfo &) const override;
protected:
- virtual void do_prepare();
+ void do_prepare() override;
public:
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
public:
MsvcLinker(Builder &, const Architecture &, const MicrosoftTools &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual std::string create_build_signature(const BuildInfo &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ std::string create_build_signature(const BuildInfo &) const override;
protected:
- virtual void do_prepare();
+ void do_prepare() override;
public:
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
ObjCSourceFile(Builder &, const Msp::FS::Path &);
ObjCSourceFile(Builder &, const Component &, const Msp::FS::Path &);
- virtual const char *get_type() const { return "ObjCSourceFile"; }
+ const char *get_type() const override { return "ObjCSourceFile"; }
protected:
- virtual void parse_includes(Msp::IO::Base &);
+ void parse_includes(Msp::IO::Base &) override;
};
#endif
static Msp::FS::Path generate_target_path(const Component &, const Msp::FS::Path &);
public:
- virtual const char *get_type() const { return "ObjectFile"; }
+ const char *get_type() const override { return "ObjectFile"; }
SourceFile &get_source() const { return source; }
void set_used_in_shared_library(bool);
bool is_used_in_shared_library() const { return used_in_shlib; }
- virtual void collect_build_info(BuildInfo &) const;
+ void collect_build_info(BuildInfo &) const override;
private:
- virtual void find_dependencies();
+ void find_dependencies() override;
void find_dependencies(FileTarget *);
};
public:
PkgConfigFile(Builder &, const SourcePackage &);
- virtual const char *get_type() const { return "PkgConfigFile"; }
+ const char *get_type() const override { return "PkgConfigFile"; }
};
#endif
Worker(const PkgConfigFile &);
private:
- virtual void main();
+ void main() override;
std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &);
};
public:
PkgConfigGenerator(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
static std::string generate_filename(const Component &);
public:
- virtual const char *get_type() const { return "SharedLibrary"; }
+ const char *get_type() const override { return "SharedLibrary"; }
const std::string &get_libname() const { return libname; }
const std::string &get_soname() const { return soname; }
public:
SourceArchiveComponent(SourcePackage &);
- virtual void create_targets() const;
+ void create_targets() const override;
};
#endif
public:
SourceGenerator(Builder &, const SourcePackage &, const std::string &);
- virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
+ Target *create_source(const Component &, const Msp::FS::Path &) const override;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
- virtual Task *run(const Target &) const;
+ Task *run(const Target &) const override;
};
#endif
Loader(SourcePackage &, const Config::InputOptions &);
private:
void init(const Config::InputOptions *);
- virtual void finish();
+ void finish() override;
void feature(const std::string &, const std::string &);
template<typename C>
void component(const std::string &);
void set_build_type(const BuildType &);
const BuildInfo &get_build_info() const { return build_info; }
private:
- virtual void do_prepare();
+ void do_prepare() override;
public:
Cache &get_cache() const { return cache; }
private:
- virtual void save_caches();
+ void save_caches() override;
};
#endif
static std::string generate_filename(const Component &);
public:
- virtual const char *get_type() const { return "StaticLibrary"; }
+ const char *get_type() const override { return "StaticLibrary"; }
void add_required_library(const std::string &);
void add_library_path(const Msp::FS::Path &);
- virtual void collect_build_info(BuildInfo &) const;
+ void collect_build_info(BuildInfo &) const override;
};
#endif
Worker(const TarBall &);
private:
- virtual void main();
+ void main() override;
void store_number(char *, unsigned, unsigned);
};
public:
Tar(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
public:
TarBall(Builder &, const SourcePackage &, const std::string &);
- virtual const char *get_type() const { return "TarBall"; }
+ const char *get_type() const override { return "TarBall"; }
const SourcePackage *get_package() const;
};
public:
TemplateFile(Builder &, const Component &, const Msp::FS::Path &);
- virtual const char *get_type() const { return "TemplateFile"; }
+ const char *get_type() const override { return "TemplateFile"; }
};
#endif
SubTool(Tool &);
public:
- virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
- virtual Target *create_source(const Msp::FS::Path &) const;
- virtual Target *create_target(const std::list<Target *> &, const std::string & = std::string());
- virtual Target *create_install(Target &) const;
- virtual std::string create_build_signature(const BuildInfo &) const;
+ Target *create_source(const Component &, const Msp::FS::Path &) const override;
+ Target *create_source(const Msp::FS::Path &) const override;
+ Target *create_target(const std::list<Target *> &, const std::string & = std::string()) override;
+ Target *create_install(Target &) const override;
+ std::string create_build_signature(const BuildInfo &) const override;
};
public:
VcxProjectFile(Builder &, const SourcePackage &);
- virtual const char *get_type() const { return "VcxProjectFile"; }
+ const char *get_type() const override { return "VcxProjectFile"; }
const std::string &get_guid() const { return guid; }
};
Worker(const VcxProjectFile &);
private:
- virtual void main();
+ void main() override;
};
public:
VcxProjectGenerator(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif
public:
VirtualTarget(Builder &, const std::string &);
- virtual const char *get_type() const { return "VirtualTarget"; }
+ const char *get_type() const override { return "VirtualTarget"; }
private:
- virtual void check_rebuild();
+ void check_rebuild() override;
public:
- virtual Task *build();
+ Task *build() override;
};
#endif
public:
VsSolutionFile(Builder &, const SourcePackage &);
- virtual const char *get_type() const { return "VsSolutionFile"; }
+ const char *get_type() const override { return "VsSolutionFile"; }
protected:
- virtual void find_dependencies();
+ void find_dependencies() override;
};
#endif
Worker(const VsSolutionFile &);
private:
- virtual void main();
+ void main() override;
};
public:
VsSolutionGenerator(Builder &);
- virtual Target *create_target(const std::list<Target *> &, const std::string &);
- virtual Task *run(const Target &) const;
+ Target *create_target(const std::list<Target *> &, const std::string &) override;
+ Task *run(const Target &) const override;
};
#endif