class AcdkBinaryTask

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::make::AcdkBinaryTask Class Reference

#include <AcdkBinaryTask.h>

Inheritance diagram for acdk::make::AcdkBinaryTask:

acdk::make::AbstractTask acdk::lang::Object acdk::make::Task acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::make::AcdkExeTask acdk::make::AcdkLibTask acdk::make::AcdkTestExeTask acdk::make::AcdkMetainfLibTask List of all members.

Detailed Description

Creates a library or executable.

See also:

Public Member Functions

 AcdkBinaryTask (IN(RString) name, IN(RString) desc)
RTaskInfo getTaskInfo ()
 For logging and working dir.

void addSource (IN(RString) source)
void addSources (IN(RStringArray) sources)
void addModule (IN(RString) modpath)
 directory contains a ACDK module with meta info.

void addModules (IN(RStringArray) mods)
void addAcdkLib (IN(RString) lib)
 an acdk library has to following the standard naming conventions of ACKD library.

void addAcdkLibs (IN(RStringArray) libs)
RStringArray getAcdkLibs ()
void addExtLib (IN(RString) lib)
void addExtLibs (IN(RStringArray) libs)
void addExtIncludeDir (IN(RString) dir)
void addExtIncludeDirs (IN(RStringArray) dirs)
void addDefine (IN(RString) key, IN(RString) val=)
void addLibraryPath (IN(RString) path)
void addLibraryPaths (IN(RStringArray) paths)
RFileSet getSourceSet (IN(RProps) props)
 return the file specifications for sources

RFileSet getHeaderSet (IN(RProps) props)
void addCompileType (IN(RString) type)
 Possible targets are: DEBUG / RELEASE SHARED / STATIC SO / STATIC.

virtual bool execute (IN(RString) exec, IN(RProps) props)
 Public interface to execute a task.

RString getReleaseTag (IN(RProps) props)
 returns debug etc.

void setBaseDir (IN(RString) basedir)
 basedir is used to specify base dir for object files.

void setObjBaseDir (IN(RString) basedir)
void setBaseSourceDir (IN(RString) basedir)
RString getDspSources (IN(RProps) props)
virtual void setupAcdkDeps (IN(RProps) props)
 Will overwritten by lib and exe.

void addModuleConfigTask (IN(RString) taskname)

Static Public Member Functions

RStringArray expandSources (IN(RStringArray) sa)

Public Attributes

RProps _moduleProps
 unexpanded sources and directories

RStringArray _modules
RFileSet _sources
RFileSet _headers
RStringArray _sourceAndHeader
bool _initialized
RString _baseDir
RString _baseSourceDir
 relative base directory where hierarchy is starting

RTaskArray _moduleConfigTasks
RString _defFile
 only win32 .def file

Protected Member Functions

bool _execute (IN(RString) exec, IN(RProps) props, bool executeParents, bool initialize)
bool _genMake (IN(RProps) props)
bool _genMake (IN(RProps) props, IN(RString) target)

Constructor & Destructor Documentation

acdk::make::AcdkBinaryTask::AcdkBinaryTask IN(RString name,
IN(RString desc

Member Function Documentation

bool acdk::make::AcdkBinaryTask::_execute IN(RString exec,
IN(RProps props,
bool  executeParents,
bool  initialize

bool acdk::make::AcdkBinaryTask::_genMake IN(RProps props,
IN(RString target

bool acdk::make::AcdkBinaryTask::_genMake IN(RProps props  )  [protected]

void acdk::make::AcdkBinaryTask::addAcdkLib IN(RString lib  )  [inline]

an acdk library has to following the standard naming conventions of ACKD library.

In case the library my_package will be added the sources of this binary will define USE_MY_PACKAGE_LIB will be defined

void acdk::make::AcdkBinaryTask::addAcdkLibs IN(RStringArray libs  )  [inline]

See also:

void acdk::make::AcdkBinaryTask::addCompileType IN(RString type  ) 

Possible targets are: DEBUG / RELEASE SHARED / STATIC SO / STATIC.

void acdk::make::AcdkBinaryTask::addDefine IN(RString key,
IN(RString val =

void acdk::make::AcdkBinaryTask::addExtIncludeDir IN(RString dir  ) 

void acdk::make::AcdkBinaryTask::addExtIncludeDirs IN(RStringArray dirs  ) 

void acdk::make::AcdkBinaryTask::addExtLib IN(RString lib  ) 

void acdk::make::AcdkBinaryTask::addExtLibs IN(RStringArray libs  ) 

void acdk::make::AcdkBinaryTask::addLibraryPath IN(RString path  ) 

void acdk::make::AcdkBinaryTask::addLibraryPaths IN(RStringArray paths  ) 

void acdk::make::AcdkBinaryTask::addModule IN(RString modpath  ) 

directory contains a ACDK module with meta info.

All *.h are added to headers All *.cpp are added to soruces

void acdk::make::AcdkBinaryTask::addModuleConfigTask IN(RString taskname  ) 

void acdk::make::AcdkBinaryTask::addModules IN(RStringArray mods  )  [inline]

void acdk::make::AcdkBinaryTask::addSource IN(RString source  ) 

void acdk::make::AcdkBinaryTask::addSources IN(RStringArray sources  )  [inline]

virtual bool acdk::make::AcdkBinaryTask::execute IN(RString exec,
IN(RProps props

Public interface to execute a task.

Implementation Task should implement execute.

exec string identifies what to do
props current properties

Reimplemented from acdk::make::AbstractTask.

Reimplemented in acdk::make::AcdkExeTask, and acdk::make::AcdkLibTask.

RStringArray acdk::make::AcdkBinaryTask::expandSources IN(RStringArray sa  )  [static]

short directory names or file names
the source file names with path names

RStringArray acdk::make::AcdkBinaryTask::getAcdkLibs  )  [inline]

RString acdk::make::AcdkBinaryTask::getDspSources IN(RProps props  ) 

RFileSet acdk::make::AcdkBinaryTask::getHeaderSet IN(RProps props  ) 

RString acdk::make::AcdkBinaryTask::getReleaseTag IN(RProps props  ) 

returns debug etc.

RFileSet acdk::make::AcdkBinaryTask::getSourceSet IN(RProps props  ) 

return the file specifications for sources

RTaskInfo acdk::make::AcdkBinaryTask::getTaskInfo  )  [inline, virtual]

For logging and working dir.

valid TaskInfo

Reimplemented from acdk::make::AbstractTask.

void acdk::make::AcdkBinaryTask::setBaseDir IN(RString basedir  ) 

basedir is used to specify base dir for object files.

void acdk::make::AcdkBinaryTask::setBaseSourceDir IN(RString basedir  )  [inline]

void acdk::make::AcdkBinaryTask::setObjBaseDir IN(RString basedir  )  [inline]

virtual void acdk::make::AcdkBinaryTask::setupAcdkDeps IN(RProps props  )  [virtual]

Will overwritten by lib and exe.

Reimplemented in acdk::make::AcdkExeTask, and acdk::make::AcdkLibTask.

Member Data Documentation

RString acdk::make::AcdkBinaryTask::_baseDir

RString acdk::make::AcdkBinaryTask::_baseSourceDir

relative base directory where hierarchy is starting

RString acdk::make::AcdkBinaryTask::_defFile

only win32 .def file

RFileSet acdk::make::AcdkBinaryTask::_headers

bool acdk::make::AcdkBinaryTask::_initialized

RTaskArray acdk::make::AcdkBinaryTask::_moduleConfigTasks

RProps acdk::make::AcdkBinaryTask::_moduleProps

unexpanded sources and directories

RStringArray acdk::make::AcdkBinaryTask::_modules

RStringArray acdk::make::AcdkBinaryTask::_sourceAndHeader

RFileSet acdk::make::AcdkBinaryTask::_sources