Zen
A cross-platform functional programming language
|
This class represents a configuration in a project (for example, dbg, rel, etc) More...
#include <Build.hpp>
Public Member Functions | |
Config () | |
Constructor for abstract base class. | |
Config & | setName (const z::string &val) |
Set configuration name. | |
const z::string & | getName () const |
Get configration name. | |
Config & | setOutputType (const OutputType::T &val) |
Set output type. | |
const OutputType::T & | getOutputType () const |
Get output type. | |
Config & | setQtl (const z::string &val) |
Set Qt root directory. | |
const z::string & | getQtl () const |
Get Qt root directory. | |
Config & | setSuffix (const z::string &val) |
Set output suffix. | |
const z::string & | getSuffix () const |
Get output suffix. | |
Config & | setApiDir (const z::string &val) |
Set API directory. | |
const z::string & | getApiDir () const |
Get API directory. | |
Config & | setPchName (const z::string &val) |
Set PCH name. | |
const z::string & | getPchName () const |
Get PCH name. | |
Config & | setNoPch (const bool &val) |
Set noPch. | |
const bool & | getNoPch () const |
Get noPch. | |
Config & | setGenMain (const bool &val) |
Set whether main() should be generated. | |
const bool & | getGenMain () const |
Get whether main() should be generated. | |
Config & | setIsGui (const bool &val) |
Set if this is a GUI module. | |
const bool & | getIsGui () const |
Get GUI value. | |
Config & | setMkdir (const bool &val) |
Set whether output directories should be created. | |
const bool & | getMkdir () const |
Get mkdir flag. | |
Config & | setVerbose (const int &val) |
Set verbose. | |
const int & | getVerbose () const |
Get verbose flag. | |
Config & | setDebug (const bool &val) |
Set debug flag. | |
const bool & | getDebug () const |
Get debug flag. | |
Config & | addIncludePath (const z::string &val) |
Add include path. | |
const z::stringlist & | getIncludePathList () const |
Get include list. | |
Config & | addLibrary (const z::string &val) |
Add library file. | |
const z::stringlist & | getLibraryList () const |
Get library list. | |
Private Attributes | |
z::string | _name |
Configuration name. | |
OutputType::T | _outputType |
Output type. | |
z::string | _qtl |
Qt directory. | |
z::string | _suffix |
Outut suffix. | |
z::string | _outFile |
Output file name. | |
z::string | _apiDir |
API directpry. | |
z::string | _pchName |
PCH filename. | |
bool | _noPch |
No PCH. | |
bool | _genMain |
Generate main() | |
bool | _isGui |
GUI flag. | |
bool | _mkdir |
Mkdir flag. | |
int | _verbose |
Verbose flag. | |
bool | _debug |
Debug flag. | |
z::stringlist | _includePathList |
Include file list. | |
z::stringlist | _libraryList |
Library file list. |
This class represents a configuration in a project (for example, dbg, rel, etc)
Add include path.
val | The path |
Add library file.
val | The file |
const z::string& getApiDir | ( | ) | const [inline] |
Get API directory.
const bool& getDebug | ( | ) | const [inline] |
Get debug flag.
const bool& getGenMain | ( | ) | const [inline] |
Get whether main() should be generated.
const z::stringlist& getIncludePathList | ( | ) | const [inline] |
Get include list.
const bool& getIsGui | ( | ) | const [inline] |
Get GUI value.
const z::stringlist& getLibraryList | ( | ) | const [inline] |
Get library list.
const bool& getMkdir | ( | ) | const [inline] |
Get mkdir flag.
const z::string& getName | ( | ) | const [inline] |
Get configration name.
const bool& getNoPch | ( | ) | const [inline] |
Get noPch.
const OutputType::T& getOutputType | ( | ) | const [inline] |
Get output type.
const z::string& getPchName | ( | ) | const [inline] |
Get PCH name.
const z::string& getQtl | ( | ) | const [inline] |
Get Qt root directory.
const z::string& getSuffix | ( | ) | const [inline] |
Get output suffix.
const int& getVerbose | ( | ) | const [inline] |
Get verbose flag.
Set API directory.
val | New value |
Config& setDebug | ( | const bool & | val | ) | [inline] |
Set debug flag.
val | New value |
Config& setGenMain | ( | const bool & | val | ) | [inline] |
Set whether main() should be generated.
val | New value |
Config& setIsGui | ( | const bool & | val | ) | [inline] |
Set if this is a GUI module.
val | New value |
Config& setMkdir | ( | const bool & | val | ) | [inline] |
Set whether output directories should be created.
val | New value |
Set configuration name.
val | Configuration name |
Config& setNoPch | ( | const bool & | val | ) | [inline] |
Set noPch.
val | New value |
Config& setOutputType | ( | const OutputType::T & | val | ) | [inline] |
Set output type.
val | New value |
Set PCH name.
val | New value |
Set Qt root directory.
val | New value |
Set output suffix.
val | New value |
Config& setVerbose | ( | const int & | val | ) | [inline] |
Set verbose.
val | New value |