CBuild
C++ build system with scripts written in c++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CBuild::Init Class Reference

Init task. More...

Inheritance diagram for CBuild::Init:
CBuild::Task

Public Member Functions

 Init ()
 
void call (std::vector< std::string >)
 Executed on task call.
 
- Public Member Functions inherited from CBuild::Task
 Task (std::string name, std::vector< std::string > required)
 Construct a new Task object.
 
std::string self_name ()
 Return task name.
 
std::vector< std::string > self_required ()
 Return required tasks.
 

Detailed Description

Init task.

Definition at line 50 of file register.cpp.

Constructor & Destructor Documentation

◆ Init()

CBuild::Init::Init ( )
inline

Definition at line 52 of file register.cpp.

Member Function Documentation

◆ call()

void CBuild::Init::call ( std::vector< std::string > args)
inlinevirtual

Executed on task call.

Parameters
args=>std::vector<std::string> -> used internally

Implements CBuild::Task.

Definition at line 53 of file register.cpp.

References CBUILD_BUILD_DIR, CBUILD_CACHE_DIR, CBUILD_COPY_CACHE_DIR, CBUILD_SCRIPTS_DIR, CBuild::fs::create(), CBuild::fs::DIRECTORY, and CBuild::fs::exists().


The documentation for this class was generated from the following file: