1 module dco.globalInfo;
2 
3 import	std.datetime;
4 
5 __gshared bool bGetLocal = false;
6 
7 //DC
8 __gshared string strDCEnv,strDCEnvFile;
9 
10 //build
11 __gshared string strConsole= " -L-su:console:4 ",strWindows = " -L-Subsystem:Windows ",strWindows64 = " -L-Subsystem:Windows -L-ENTRY:mainCRTStartup ",strAddArgs,strAddArgsdfl = " -de -w ",buildMode,strDebugDefault= " -debug",strImportDefault = " -I$(DMDInstallDir)windows/import ",targetTypeDefault = "lib",targetTypeShared = "shared";
12 
13 __gshared string strTargetLib,SpecialLib = "",strWinLibs = " ole32.lib oleAut32.lib gdi32.lib Comctl32.lib Comdlg32.lib advapi32.lib uuid.lib ws2_32.lib kernel32.lib ",strWinLibs64 = " user32.lib "; 
14 	
15 __gshared string strOtherArgs,strAddLib,strTargetFileName,strTargetTypeSwitch,compileType;
16 
17 __gshared bool	bUseSpecialLib = false,bDebug = true,bBuildSpecialLib = false,bCopy = false,bDisplayBuildStr = false,bDisplayCopyInfo = true,bForce = false;
18 
19 __gshared SysTime sourceLastUpdateTime,targetTime;
20 //ini args
21 __gshared string strPackageName,strArgs,strTargetName,strTargetType = "exe",strDC = "dmd",strDCStandardEnvBin = "dmd2\\windows\\bin",strLibs ,strImport,strLflags,strDflags,strTargetLflags,strTargetPath,strObjPath;
22 
23 __gshared bool	bInitINI = false,bAssignTarget = false;
24 
25 __gshared string separator = "\\";
26 
27 //readFile
28 __gshared string strDFile;
29 
30 //help
31 __gshared bHelp =false,bVersion = false;