diff options
Diffstat (limited to 'libbuild2/cli/module.hxx')
-rw-r--r-- | libbuild2/cli/module.hxx | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libbuild2/cli/module.hxx b/libbuild2/cli/module.hxx new file mode 100644 index 0000000..ba10540 --- /dev/null +++ b/libbuild2/cli/module.hxx @@ -0,0 +1,30 @@ +// file : libbuild2/cli/module.hxx -*- C++ -*- +// license : MIT; see accompanying LICENSE file + +#ifndef LIBBUILD2_CLI_MODULE_HXX +#define LIBBUILD2_CLI_MODULE_HXX + +#include <libbuild2/types.hxx> +#include <libbuild2/utility.hxx> + +#include <libbuild2/module.hxx> + +#include <libbuild2/cli/rule.hxx> + +namespace build2 +{ + namespace cli + { + class module: public build2::module, + public virtual data, + public compile_rule + { + public: + explicit + module (data&& d) + : data (move (d)), compile_rule (move (d)) {} + }; + } +} + +#endif // LIBBUILD2_CLI_MODULE_HXX |