- 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.
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'.