![]() |
Zen
A cross-platform functional programming language
|
Implementation of project loader class. More...
Public Member Functions | |
| Impl () | |
| Default constructor. | |
| int | load (int argc, char *argv[]) |
| Load a project using command line arguments. | |
| const Build::RunMode::T & | getRunMode () const |
| Get the run mode. | |
| const z::string & | getProjectFile () const |
| Get the project file name. | |
| const Build::Project & | getProject () const |
| Get the project definition. | |
Private Member Functions | |
| void | initMakeCmds (zbl::CmdLine::Command &cmd) |
| Initialize command line parser with make commands. | |
| void | initCommonCmds (zbl::CmdLine::Command &cmd) |
| Initialize command line parser with common commands. | |
| void | initHelp (zbl::CmdLine &parser) |
| Initialize command line parser with help commands. | |
| void | initInfo (zbl::CmdLine &parser) |
| Initialize command line parser with info commands. | |
| void | initMake (zbl::CmdLine &parser) |
| Initialize command line parser with make command. | |
| void | initBuild (zbl::CmdLine &parser) |
| Initialize command line parser with build command. | |
| void | initCompile (zbl::CmdLine &parser) |
| Initialize command line parser with compile command. | |
| void | validateProject () |
| validate the project | |
| void | validateConfig (Build::Config &cfg, const int &idx) |
| validate configuration | |
Private Attributes | |
| bool | _includePathInfo |
| True if include path info is required. | |
| bool | _linkPathInfo |
| True if link info is required. | |
| Build::RunMode::T | _runMode |
| Run mode. | |
| Build::Project | _project |
| Project definition. | |
| z::string | _projectFile |
| Project filename. | |
| bool | _projectX |
| True if executable project. | |
| bool | _projectH |
| True if shared project. | |
| bool | _projectT |
| True if static project. | |
Implementation of project loader class.
| const Build::Project& getProject | ( | ) | const [inline] |
Get the project definition.
| const z::string& getProjectFile | ( | ) | const [inline] |
Get the project file name.
| const Build::RunMode::T& getRunMode | ( | ) | const [inline] |
Get the run mode.
| void initBuild | ( | zbl::CmdLine & | parser | ) | [inline, private] |
Initialize command line parser with build command.
| parser | The parser instance |
| void initCommonCmds | ( | zbl::CmdLine::Command & | cmd | ) | [inline, private] |
Initialize command line parser with common commands.
| cmd | The command instance |
| void initCompile | ( | zbl::CmdLine & | parser | ) | [inline, private] |
Initialize command line parser with compile command.
| parser | The parser instance |
| void initHelp | ( | zbl::CmdLine & | parser | ) | [inline, private] |
Initialize command line parser with help commands.
| parser | The parser instance |
| void initInfo | ( | zbl::CmdLine & | parser | ) | [inline, private] |
Initialize command line parser with info commands.
| parser | The parser instance |
| void initMake | ( | zbl::CmdLine & | parser | ) | [inline, private] |
Initialize command line parser with make command.
| parser | The parser instance |
| void initMakeCmds | ( | zbl::CmdLine::Command & | cmd | ) | [inline, private] |
Initialize command line parser with make commands.
| cmd | The command instance |
| int load | ( | int | argc, |
| char * | argv[] | ||
| ) | [inline] |
Load a project using command line arguments.
| argc | Argument count |
| argv | Argument variables |
| void validateConfig | ( | Build::Config & | cfg, |
| const int & | idx | ||
| ) | [inline, private] |
validate configuration
| cfg | The configuration to validate |
| idx | The configuration index |