diff --git a/Visual Studio Projects/ALTAIR.vcproj b/Visual Studio Projects/ALTAIR.vcproj index 48368a9a..867eba94 100644 --- a/Visual Studio Projects/ALTAIR.vcproj +++ b/Visual Studio Projects/ALTAIR.vcproj @@ -27,7 +27,7 @@ NUL if ERRORLEVEL 1 goto _next_arg findstr PlatformToolset %1 | findstr _xp >NUL @@ -49,8 +54,6 @@ if "" == "%_XP_Support_Available%" goto _done_xp_check if exist PlatformToolset.fix exit /b 1 echo. >>PlatformToolset.fix if ERRORLEVEL 1 exit /B 1 -set /a _SleepTime= 4 + %RANDOM% %% %NUMBER_OF_PROCESSORS% -ping -n %_SleepTime% localhost > NUL echo warning: Adding Windows XP suppport to all project files at %TIME% echo Set objFSO = CreateObject("Scripting.FileSystemObject") >>%1.fix.vbs @@ -69,8 +72,6 @@ for %%f in (*.vcxproj) do call :_Fix_PlatformToolset %1 %%f call :_GitHooks del %1.fix.vbs rem wait a bit here to allow a parallel build of the to complete additional projects -ping -n 10 localhost > NUL -del PlatformToolset.fix echo Error: Reload the changed projects and start the build again exit /B 1 :_Fix_PlatformToolset @@ -83,6 +84,14 @@ cscript %1.fix.vbs %2 > NUL 2>&1 exit /B 0 :_done_xp_check shift +goto _done_project +:_project_cleanup +shift +del PlatformToolset.fix +:_done_project +if exist PlatformToolset.fix echo error: Reload any changed projects and rebuild again, +if exist PlatformToolset.fix exit /b 1 + :_next_arg if "%1" == "" goto _done_args diff --git a/Visual Studio Projects/S3.vcproj b/Visual Studio Projects/S3.vcproj index 3e3b7661..25f56fd7 100644 --- a/Visual Studio Projects/S3.vcproj +++ b/Visual Studio Projects/S3.vcproj @@ -27,7 +27,7 @@