- 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.
- checkDC
bool checkDC(string DCPath, string strDCExe)
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.
- findStr
bool findStr(string strIn, string[] strFind)
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.
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 only 'dco.ini' config file.
Compiler dco.d :dmd dco.d -release,and dco ↓,
Usage: Config some info 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,that also is dmd.exe 's path: dmd2\window\bin. After that,you can run the 'dco.exe' anywhere. If not found 'dco.ini',run: dco -ini,please.
For example: to get the debug version( -release to get another)
build some *.d to lib or exe : dco ↓ build some *.d to lib or exe for 64 bit : dco -m64 ↓ build one app.d in many *.d : dco app or dco app.d 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 lib and copy to libs : dco -lib -copy build by custom and copy to libs : dco -arg -addlib -lib -copy
if your exe's file works on console,you should add '-con' or '-console'.