vbox的更動 5506 路徑 trunk/configure.vbs
- 時間撮記:
- 2007-10-26 上午12:38:41 (17 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/configure.vbs
r4746 r5506 36 36 Set g_objFileSys = WScript.CreateObject("Scripting.FileSystemObject") 37 37 38 dim g_strPathkBuild, g_strPathkBuildBin, g_strPathDev, g_strPathVCC, g_strPathPSDK, g_str SubOutput38 dim g_strPathkBuild, g_strPathkBuildBin, g_strPathDev, g_strPathVCC, g_strPathPSDK, g_strPathDDK, g_strSubOutput 39 39 g_strPathkBuild = "" 40 40 g_strPathDev = "" 41 41 g_strPathVCC = "" 42 42 g_strPathPSDK = "" 43 g_strPathDDK = "" 43 44 44 45 dim g_blnDisableCOM, g_strDisableCOM … … 444 445 CfgPrint "# Build configuration generated by " & GetCommandline() 445 446 CfgPrint "#" 446 if g_blnInternalMode = False then 447 if g_blnInternalMode = False then 447 448 CfgPrint "VBOX_OSE := 1" 448 449 end if … … 1047 1048 1048 1049 PrintResult "Windows 2003 DDK", strPathDDK 1050 g_strPathDDK = strPathDDK 1049 1051 end sub 1050 1052 … … 1060 1062 end if 1061 1063 end function 1064 1065 1066 '' 1067 ' Finds midl.exe 1068 sub CheckForMidl() 1069 dim strMidl 1070 PrintHdr "Midl.exe" 1071 1072 ' Skip if no COM/ATL. 1073 if g_blnDisableCOM then 1074 PrintResult "Xerces", "Skipped (" & g_strDisableCOM & ")" 1075 exit sub 1076 end if 1077 1078 if LogFileExists(g_strPathPSDK, "bin/Midl.exe") then 1079 strMidl = g_strPathPSDK & "/bin/Midl.exe" 1080 elseif LogFileExists(g_strPathVCC, "Common7/Tools/Bin/Midl.exe") then 1081 strMidl = g_strPathVCC & "/Common7/Tools/Bin/Midl.exe" 1082 elseif LogFileExists(g_strPathDDK, "bin/x86/Midl.exe") then 1083 strMidl = g_strPathDDK & "/bin/x86/Midl.exe" 1084 elseif LogFileExists(g_strPathDDK, "bin/Midl.exe") then 1085 strMidl = g_strPathDDK & "/bin/Midl.exe" 1086 elseif LogFileExists(g_strPathDev, "win.x86/bin/Midl.exe") then 1087 strMidl = g_strPathDev & "/win.x86/bin/Midl.exe" 1088 else 1089 MsgWarning "Midl.exe not found!" 1090 exit sub 1091 end if 1092 1093 CfgPrint "MAIN_IDL = " & strMidl 1094 PrintResult "Midl.exe", strMidl 1095 end sub 1062 1096 1063 1097 … … 1148 1182 ' The specified path. 1149 1183 if (strPathMingW = "") And (strOptMingW <> "") then 1150 if CheckForMingWSub(strOptMingW, strOptW32API) then 1184 if CheckForMingWSub(strOptMingW, strOptW32API) then 1151 1185 strPathMingW = strOptMingW 1152 1186 strPathW32API = strOptW32API … … 1158 1192 str = g_strPathDev & "/win.x86/mingw32/v3.3.3" 1159 1193 str2 = g_strPathDev & "/win.x86/w32api/v2.5" 1160 if CheckForMingWSub(str, str2) then 1194 if CheckForMingWSub(str, str2) then 1161 1195 strPathMingW = str 1162 1196 strPathW32API = str2 … … 1385 1419 ' Ignore failure if we're in 'internal' mode. 1386 1420 if (strPathXerces = "") and g_blnInternalMode then 1387 PrintResult "Xerces", "ignored (internal mode)" 1421 PrintResult "Xerces", "ignored (internal mode)" 1388 1422 exit sub 1389 1423 end if … … 1418 1452 And LogFileExists(strPathXerces, "include/xercesc/validators/datatype/DatatypeValidator.hpp") _ 1419 1453 then 1420 ' The version is encoded in the dll/lib name, so try first 1454 ' The version is encoded in the dll/lib name, so try first 1421 1455 ' to find the dll and then a matching lib. 1422 1456 str = LogFindFile(strPathXerces, "bin/xerces-c_*.dll") … … 1479 1513 ' Ignore failure if we're in 'internal' mode. 1480 1514 if (strPathXalan = "") and g_blnInternalMode then 1481 PrintResult "Xalan", "ignored (internal mode)" 1515 PrintResult "Xalan", "ignored (internal mode)" 1482 1516 exit sub 1483 1517 end if … … 1514 1548 And LogFileExists(strPathXalan, "include/xalanc/XalanDOM/XalanText.hpp") _ 1515 1549 then 1516 ' The version is encoded in the dll/lib name, so try first 1550 ' The version is encoded in the dll/lib name, so try first 1517 1551 ' to find the dll and then a matching lib. 1518 1552 str = LogFindFile(strPathXalan, "bin/Xalan-C_*.dll") … … 1743 1777 CheckForPlatformSDK strOptSDK 1744 1778 CheckForWin2k3DDK strOptDDK 1779 CheckForMidl 1745 1780 CheckForDirectXSDK strOptDXSDK 1746 1781 CheckForMingW strOptMingw, strOptW32API
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器