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

Version task. More...

Inheritance diagram for CBuild::Version:
CBuild::Task

Public Member Functions

 Version ()
 
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

Version task.

Definition at line 69 of file register.cpp.

Constructor & Destructor Documentation

◆ Version()

CBuild::Version::Version ( )
inline

Definition at line 71 of file register.cpp.

Member Function Documentation

◆ call()

void CBuild::Version::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 72 of file register.cpp.

References CBUILD_COMPILATION_DATE, CBUILD_COMPILATION_TIME, CBUILD_COMPILER_VERSION, CBUILD_VERSION_STR, CBuild::Registry::handler, and CBuild::print().


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