/builder
/builder.pc
/builder-stage1
-/builtintools.dlm
+/basetools.dlm
/clangtools.dlm
/gnutools.dlm
/libbuilder.a
install true;
};
- module "builtintools"
+ module "basetools"
{
- source "plugins/builtin";
+ source "plugins/base";
install true;
};
#include <msp/builder/builder.h>
#include <msp/builder/tool.h>
-#include "builtinplugin.h"
-#include "builtintools.h"
+#include "baseplugin.h"
+#include "basetools.h"
#include "compilecommandsjson.h"
#include "pkgconfigfile.h"
#include "vcxprojectfile.h"
#include "vssolutionfile.h"
-void BuiltinPlugin::add_tools(Toolchain &toolchain, const Architecture &) const
+void BasePlugin::add_tools(Toolchain &toolchain, const Architecture &) const
{
- toolchain.add_toolchain(new BuiltinTools(builder));
+ toolchain.add_toolchain(new BaseTools(builder));
}
-void BuiltinPlugin::create_targets(SourcePackage &spkg) const
+void BasePlugin::create_targets(SourcePackage &spkg) const
{
const Architecture &native_arch = builder.get_native_arch();
extern "C"
Plugin *create_plugin(Builder &builder)
{
- return new BuiltinPlugin(builder);
+ return new BasePlugin(builder);
}
-#ifndef BUILTINPLUGIN_H_
-#define BUILTINPLUGIN_H_
+#ifndef BASEPLUGIN_H_
+#define BASEPLUGIN_H_
#include <msp/builder/plugin.h>
-class BuiltinPlugin: public Plugin
+class BasePlugin: public Plugin
{
public:
- BuiltinPlugin(Builder &b): Plugin(b) { }
+ BasePlugin(Builder &b): Plugin(b) { }
void add_tools(Toolchain &, const Architecture &) const override;
void create_targets(SourcePackage &) const override;
-#include "builtintools.h"
+#include "basetools.h"
#include "copy.h"
#include "compilecommandsgenerator.h"
#include "pkgconfiggenerator.h"
#include "vcxprojectgenerator.h"
#include "vssolutiongenerator.h"
-BuiltinTools::BuiltinTools(Builder &builder)
+BaseTools::BaseTools(Builder &builder)
{
add_tool(new Copy(builder));
add_tool(new Tar(builder));
-#ifndef BUILTINTOOLS_H_
-#define BUILTINTOOLS_H_
+#ifndef BASETOOLS_H_
+#define BASETOOLS_H_
#include <msp/builder/toolchain.h>
class Builder;
-class BuiltinTools: public Toolchain
+class BaseTools: public Toolchain
{
public:
- BuiltinTools(Builder &);
+ BaseTools(Builder &);
};
#endif