diff --git a/.gitignore b/.gitignore index 1c3eb5b7..774e0b78 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,11 @@ ipch *.idb *.vcxproj *.sln +*.nativecodeanalysis.xml +*.lastcodeanalysissucceeded +*.codeanalysis +*.codeanalysisast +*.nativecodeanalysis.all.xml # OSX/Linux build products *.mak diff --git a/sp/src/game/client/client_episodic.vcxproj b/sp/src/game/client/client_episodic.vcxproj index 164d7115..1ede2e70 100644 --- a/sp/src/game/client/client_episodic.vcxproj +++ b/sp/src/game/client/client_episodic.vcxproj @@ -19,7 +19,7 @@ DynamicLibrary MultiByte client - v120_xp + v120 DynamicLibrary @@ -60,6 +60,9 @@ false true + + true + if EXIST ..\..\..\game\mod_episodic\bin\.\$(TargetFileName) for /f "delims=" %%A in ('attrib "..\..\..\game\mod_episodic\bin\.\$(TargetFileName)"') do set valveTmpIsReadOnly="%%A" @@ -100,6 +103,7 @@ if ERRORLEVEL 1 exit /b 1 true $(IntDir)/ Prompt + true ;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) diff --git a/sp/src/game/client/client_hl2.vcxproj b/sp/src/game/client/client_hl2.vcxproj index 7fc48dca..abd912a1 100644 --- a/sp/src/game/client/client_hl2.vcxproj +++ b/sp/src/game/client/client_hl2.vcxproj @@ -19,7 +19,7 @@ DynamicLibrary MultiByte client - v120_xp + v120 DynamicLibrary @@ -60,6 +60,9 @@ false true + + true + if EXIST ..\..\..\game\mod_hl2\bin\.\$(TargetFileName) for /f "delims=" %%A in ('attrib "..\..\..\game\mod_hl2\bin\.\$(TargetFileName)"') do set valveTmpIsReadOnly="%%A" @@ -100,6 +103,7 @@ if ERRORLEVEL 1 exit /b 1 true $(IntDir)/ Prompt + true ;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) diff --git a/sp/src/game/server/server_episodic.vcxproj b/sp/src/game/server/server_episodic.vcxproj index 34590de6..b7657c3f 100644 --- a/sp/src/game/server/server_episodic.vcxproj +++ b/sp/src/game/server/server_episodic.vcxproj @@ -19,7 +19,7 @@ DynamicLibrary MultiByte server - v120_xp + v120 DynamicLibrary @@ -58,6 +58,9 @@ false true + + true + if EXIST ..\..\..\game\mod_episodic\bin\.\$(TargetFileName) for /f "delims=" %%A in ('attrib "..\..\..\game\mod_episodic\bin\.\$(TargetFileName)"') do set valveTmpIsReadOnly="%%A" @@ -97,6 +100,7 @@ if ERRORLEVEL 1 exit /b 1 true $(IntDir)/ Prompt + true ;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) diff --git a/sp/src/game/server/server_hl2.vcxproj b/sp/src/game/server/server_hl2.vcxproj index 605611c9..de012f67 100644 --- a/sp/src/game/server/server_hl2.vcxproj +++ b/sp/src/game/server/server_hl2.vcxproj @@ -19,7 +19,7 @@ DynamicLibrary MultiByte server - v120_xp + v120 DynamicLibrary @@ -58,6 +58,9 @@ false true + + true + if EXIST ..\..\..\game\mod_hl2\bin\.\$(TargetFileName) for /f "delims=" %%A in ('attrib "..\..\..\game\mod_hl2\bin\.\$(TargetFileName)"') do set valveTmpIsReadOnly="%%A" @@ -97,6 +100,7 @@ if ERRORLEVEL 1 exit /b 1 true $(IntDir)/ Prompt + true ;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions) diff --git a/sp/src/mathlib/mathlib.vcxproj b/sp/src/mathlib/mathlib.vcxproj index 6f438e99..bfd1fd9e 100644 --- a/sp/src/mathlib/mathlib.vcxproj +++ b/sp/src/mathlib/mathlib.vcxproj @@ -19,7 +19,7 @@ StaticLibrary MultiByte mathlib - v120_xp + v120 StaticLibrary @@ -52,9 +52,22 @@ true true + + true + - if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\lib\public\.\$(TargetName).lib ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib attrib +r ..\lib\public\.\$(TargetName).lib ) if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\lib\public\.\$(TargetName).lib + ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib + attrib +r ..\lib\public\.\$(TargetName).lib +) +if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /Gw @@ -89,6 +102,7 @@ true $(IntDir)/ Prompt + true @@ -112,7 +126,17 @@ - if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\lib\public\.\$(TargetName).lib ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib attrib +r ..\lib\public\.\$(TargetName).lib ) if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\lib\public\.\$(TargetName).lib + ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib + attrib +r ..\lib\public\.\$(TargetName).lib +) +if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /d2Zi+ /Gw @@ -230,10 +254,14 @@ Running VPC CRC Check - mathlib.vpc - if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\mathlib\mathlib.vpc.sentinel + if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\mathlib\mathlib.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\mathlib\mathlib.vpc.sentinel Running VPC CRC Check - mathlib.vpc - if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\mathlib\mathlib.vpc.sentinel + if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "mathlib.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\mathlib\mathlib.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\mathlib\mathlib.vpc.sentinel @@ -251,4 +279,4 @@ - + \ No newline at end of file diff --git a/sp/src/raytrace/raytrace.vcxproj b/sp/src/raytrace/raytrace.vcxproj index cade02d2..cea0000b 100644 --- a/sp/src/raytrace/raytrace.vcxproj +++ b/sp/src/raytrace/raytrace.vcxproj @@ -19,7 +19,7 @@ StaticLibrary MultiByte raytrace - v120_xp + v120 StaticLibrary @@ -52,9 +52,22 @@ true true + + true + - if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\lib\public\.\$(TargetName).lib ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib attrib +r ..\lib\public\.\$(TargetName).lib ) if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\lib\public\.\$(TargetName).lib + ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib + attrib +r ..\lib\public\.\$(TargetName).lib +) +if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /Gw @@ -89,6 +102,7 @@ true $(IntDir)/ Prompt + true @@ -112,7 +126,17 @@ - if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\lib\public\.\$(TargetName).lib ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib attrib +r ..\lib\public\.\$(TargetName).lib ) if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\lib\public\.\$(TargetName).lib + ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib + attrib +r ..\lib\public\.\$(TargetName).lib +) +if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /d2Zi+ /Gw @@ -185,10 +209,14 @@ Running VPC CRC Check - raytrace.vpc - if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\raytrace\raytrace.vpc.sentinel + if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\raytrace\raytrace.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\raytrace\raytrace.vpc.sentinel Running VPC CRC Check - raytrace.vpc - if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\raytrace\raytrace.vpc.sentinel + if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "raytrace.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\raytrace\raytrace.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\raytrace\raytrace.vpc.sentinel @@ -206,4 +234,4 @@ - + \ No newline at end of file diff --git a/sp/src/tier1/tier1.vcxproj b/sp/src/tier1/tier1.vcxproj index f1d5acd2..4396b41f 100644 --- a/sp/src/tier1/tier1.vcxproj +++ b/sp/src/tier1/tier1.vcxproj @@ -19,7 +19,7 @@ StaticLibrary MultiByte tier1 - v120_xp + v120 StaticLibrary @@ -52,9 +52,22 @@ true true + + true + - if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\lib\public\.\$(TargetName).lib ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib attrib +r ..\lib\public\.\$(TargetName).lib ) if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\lib\public\.\$(TargetName).lib + ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib + attrib +r ..\lib\public\.\$(TargetName).lib +) +if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /Gw @@ -89,6 +102,7 @@ true $(IntDir)/ Prompt + true @@ -113,7 +127,17 @@ - if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\lib\public\.\$(TargetName).lib ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib attrib +r ..\lib\public\.\$(TargetName).lib ) if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\lib\public\. mkdir ..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\lib\public\.\$(TargetName).lib + ..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\lib\public\.\$(TargetName).lib + attrib +r ..\lib\public\.\$(TargetName).lib +) +if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /d2Zi+ /Gw @@ -289,10 +313,14 @@ Running VPC CRC Check - tier1.vpc - if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\tier1\tier1.vpc.sentinel + if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\tier1\tier1.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\tier1\tier1.vpc.sentinel Running VPC CRC Check - tier1.vpc - if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\tier1\tier1.vpc.sentinel + if exist "..\devtools\bin\vpc.exe" "..\devtools\bin\vpc.exe" -crc2 "tier1.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\tier1\tier1.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\tier1\tier1.vpc.sentinel @@ -310,4 +338,4 @@ - + \ No newline at end of file diff --git a/sp/src/vgui2/vgui_controls/vgui_controls.vcxproj b/sp/src/vgui2/vgui_controls/vgui_controls.vcxproj index 78749491..279cb871 100644 --- a/sp/src/vgui2/vgui_controls/vgui_controls.vcxproj +++ b/sp/src/vgui2/vgui_controls/vgui_controls.vcxproj @@ -19,7 +19,7 @@ StaticLibrary MultiByte vgui_controls - v120_xp + v120 StaticLibrary @@ -52,9 +52,22 @@ true true + + true + - if EXIST ..\..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\..\lib\public\. mkdir ..\..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\..\lib\public\.\$(TargetName).lib ..\..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\..\lib\public\.\$(TargetName).lib attrib +r ..\..\lib\public\.\$(TargetName).lib ) if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\..\lib\public\. mkdir ..\..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\..\lib\public\.\$(TargetName).lib + ..\..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\..\lib\public\.\$(TargetName).lib + attrib +r ..\..\lib\public\.\$(TargetName).lib +) +if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /Gw @@ -89,6 +102,7 @@ true $(IntDir)/ Prompt + true @@ -112,7 +126,17 @@ - if EXIST ..\..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" ) else ( if not EXIST ..\..\lib\public\. mkdir ..\..\lib\public\. ) set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% if "%valveTmpIsReadOnlyLetter%"=="R" ( attrib -r ..\..\lib\public\.\$(TargetName).lib ..\..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\..\lib\public\.\$(TargetName).lib attrib +r ..\..\lib\public\.\$(TargetName).lib ) if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" if ERRORLEVEL 1 exit /b 1 + if EXIST ..\..\lib\public\.\$(TargetName).lib ( for /f "delims=" %%A in ('attrib "..\..\lib\public\.\$(TargetName).lib"') do set valveTmpIsReadOnly="%%A" +) else ( if not EXIST ..\..\lib\public\. mkdir ..\..\lib\public\. ) +set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1% +if "%valveTmpIsReadOnlyLetter%"=="R" ( + attrib -r ..\..\lib\public\.\$(TargetName).lib + ..\..\devtools\bin\gnu\touch.exe -d "1999-01-01" ..\..\lib\public\.\$(TargetName).lib + attrib +r ..\..\lib\public\.\$(TargetName).lib +) +if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" +if ERRORLEVEL 1 exit /b 1 + /d2Zi+ /Gw @@ -349,10 +373,14 @@ Running VPC CRC Check - vgui_controls.vpc - if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\vgui2\vgui_controls\vgui_controls.vpc.sentinel + if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\vgui2\vgui_controls\vgui_controls.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\vgui2\vgui_controls\vgui_controls.vpc.sentinel Running VPC CRC Check - vgui_controls.vpc - if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" if ERRORLEVEL 1 exit /b 1 echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\vgui2\vgui_controls\vgui_controls.vpc.sentinel + if exist "..\..\devtools\bin\vpc.exe" "..\..\devtools\bin\vpc.exe" -crc2 "vgui_controls.vcxproj" +if ERRORLEVEL 1 exit /b 1 +echo crc_complete > C:\sourceproject\halflife2chaos\sp\src\vgui2\vgui_controls\vgui_controls.vpc.sentinel C:\sourceproject\halflife2chaos\sp\src\vgui2\vgui_controls\vgui_controls.vpc.sentinel @@ -371,4 +399,4 @@ - + \ No newline at end of file