dco

This is a build tool,compile *.d to exe or lib,and help to build dfl2 gui (or other you like). now default DC is dmd ,default platform is windows.

If your DC is dmd, dco can start no config file.

Compiler dco.d :dmd dco.d -release,and dco ↓,

Usage: "use before" run: dco -ini, config some infos to 'dco.ini' file,';' or '#' means you can do as it.Then copy dco.ini to your PATH: such as dmd's config file:sc.ini. And dco.exe can auto copy itsself to EnvPath,such as dmd.exe 's path: dmd2\window\bin. after that,you can run the 'dco.exe' anywhere.

For example: to get the debug version( -release to get another)

build some *.d to lib or exe : dco ↓ build for libs such as dfl,dgui : dco -lib build for app.d use dfl2 : dco -gui build app.d use dfl2 for console : dco -con build one app.d in many *.d : dco app.d build lib and copy to libs : dco -lib -c build by custom : dco -arg -addlib -lib -c

if your exe's file works on console,you should add '-con' or '-console'.

Members

Functions

CheckBinFolderAndCopy
bool CheckBinFolderAndCopy()
Undocumented in source. Be warned that the author may not have intended to support it.
ReadDFile
void ReadDFile(string dFile, bool bPackage)
Undocumented in source. Be warned that the author may not have intended to support it.
ShowUsage
void ShowUsage()
Undocumented in source. Be warned that the author may not have intended to support it.
buildExe
void buildExe(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
buildExe
void buildExe()
Undocumented in source. Be warned that the author may not have intended to support it.
checkArgs
bool checkArgs(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
checkIsUpToDate
bool checkIsUpToDate()
Undocumented in source. Be warned that the author may not have intended to support it.
checkIsUpToDate
bool checkIsUpToDate(string strPathFile, SysTime targettime)
Undocumented in source. Be warned that the author may not have intended to support it.
copyFile
void copyFile()
Undocumented in source. Be warned that the author may not have intended to support it.
findDCEnv
bool findDCEnv()
Undocumented in source. Be warned that the author may not have intended to support it.
findFiles
bool findFiles()
Undocumented in source. Be warned that the author may not have intended to support it.
getTargetInfo
void getTargetInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
getTargetTime
SysTime getTargetTime(string strPathFile)
Undocumented in source. Be warned that the author may not have intended to support it.
initNewConfigFile
void initNewConfigFile()
Undocumented in source. Be warned that the author may not have intended to support it.
main
void main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
readConfig
bool readConfig(string configFile)
Undocumented in source. Be warned that the author may not have intended to support it.
readInJson
void readInJson()
Undocumented in source. Be warned that the author may not have intended to support it.
removeExe
void removeExe(string strPathExe)
SpecialLib
string SpecialLib;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bAssignTarget
bool bAssignTarget;
bBuildSpecialLib
bool bBuildSpecialLib;
Undocumented in source.
bCopy
bool bCopy;
Undocumented in source.
bDCO
bool bDCO;
bDebug
bool bDebug;
bDisplayBuildStr
bool bDisplayBuildStr;
bDisplayCopyInfo
bool bDisplayCopyInfo;
Undocumented in source.
bForce
bool bForce;
Undocumented in source.
bUseSpecialLib
bool bUseSpecialLib;
Undocumented in source.
configFile
string configFile;
Undocumented in source.
configKeyValue
string[string] configKeyValue;
Undocumented in source.
sourceLastUpdateTime
SysTime sourceLastUpdateTime;
Undocumented in source.
strAddArgs
string strAddArgs;
strAddArgsdfl
string strAddArgsdfl;
Undocumented in source.
strAddLib
string strAddLib;
strArgs
string strArgs;
strConsole
string strConsole;
strDC
string strDC;
Undocumented in source.
strDCEnv
string strDCEnv;
strDCEnvFile
string strDCEnvFile;
strDCStandardEnvBin
string strDCStandardEnvBin;
Undocumented in source.
strDFile
string strDFile;
Undocumented in source.
strDebug
string strDebug;
strDebugDefault
string strDebugDefault;
strImport
string strImport;
Undocumented in source.
strImportDefault
string strImportDefault;
strLflags
string strLflags;
strLibs
string strLibs;
Undocumented in source.
strOtherArgs
string strOtherArgs;
Undocumented in source.
strPackageName
string strPackageName;
strTargetFileName
string strTargetFileName;
Undocumented in source.
strTargetLflags
string strTargetLflags;
Undocumented in source.
strTargetLib
string strTargetLib;
strTargetName
string strTargetName;
Undocumented in source.
strTargetPath
string strTargetPath;
strTargetType
string strTargetType;
strTargetTypeSwitch
string strTargetTypeSwitch;
strWinLibs
string strWinLibs;
strWindows
string strWindows;
targetTime
SysTime targetTime;
targetTypeDefault
string targetTypeDefault;
Undocumented in source.

Meta

License

$(LGPL-3.0).

Version

v0.0.5 Created Time:2014-10-27 Modify Time:2014-10-31~2014-11-5

Authors

FrankLIKE