Line-ending fixes for most of the remaining files.
Fixes line-endings for files with extensions vcd, cc, txt, bat, fxc, inc, lst,
proto, mak, mm, cfg, res, rc, def, vmt, vsh, vbsp, inl, asm, m4, vcproj,
vcxproj, sln, in, java, la, manifest, am, and rad.
Also fixes README, CONTRIBUTING, CONTRIBUTORS, LICENSE, CHANGES, COPYING, and
gitignore.
Finally, fixes executable bits.
2013-12-03 10:39:23 -08:00
|
|
|
@echo off
|
|
|
|
setlocal
|
|
|
|
|
|
|
|
rem Use dynamic shaders to build .inc files only
|
|
|
|
rem set dynamic_shaders=1
|
|
|
|
rem == Setup path to nmake.exe, from vc 2005 common tools directory ==
|
2019-08-31 19:28:20 +00:00
|
|
|
call "%VS120COMNTOOLS%vsvars32.bat"
|
Line-ending fixes for most of the remaining files.
Fixes line-endings for files with extensions vcd, cc, txt, bat, fxc, inc, lst,
proto, mak, mm, cfg, res, rc, def, vmt, vsh, vbsp, inl, asm, m4, vcproj,
vcxproj, sln, in, java, la, manifest, am, and rad.
Also fixes README, CONTRIBUTING, CONTRIBUTORS, LICENSE, CHANGES, COPYING, and
gitignore.
Finally, fixes executable bits.
2013-12-03 10:39:23 -08:00
|
|
|
|
|
|
|
|
|
|
|
set TTEXE=..\..\devtools\bin\timeprecise.exe
|
|
|
|
if not exist %TTEXE% goto no_ttexe
|
|
|
|
goto no_ttexe_end
|
|
|
|
|
|
|
|
:no_ttexe
|
|
|
|
set TTEXE=time /t
|
|
|
|
:no_ttexe_end
|
|
|
|
|
|
|
|
|
|
|
|
rem echo.
|
|
|
|
rem echo ~~~~~~ buildsdkshaders %* ~~~~~~
|
|
|
|
%TTEXE% -cur-Q
|
|
|
|
set tt_all_start=%ERRORLEVEL%
|
|
|
|
set tt_all_chkpt=%tt_start%
|
|
|
|
|
|
|
|
set BUILD_SHADER=call buildshaders.bat
|
|
|
|
set ARG_EXTRA=
|
|
|
|
|
|
|
|
%BUILD_SHADER% stdshader_dx9_20b -game %GAMEDIR% -source %SOURCEDIR%
|
|
|
|
%BUILD_SHADER% stdshader_dx9_30 -game %GAMEDIR% -source %SOURCEDIR% -dx9_30 -force30
|
|
|
|
|
|
|
|
|
|
|
|
rem echo.
|
|
|
|
if not "%dynamic_shaders%" == "1" (
|
|
|
|
rem echo Finished full buildallshaders %*
|
|
|
|
) else (
|
|
|
|
rem echo Finished dynamic buildallshaders %*
|
|
|
|
)
|
|
|
|
|
|
|
|
rem %TTEXE% -diff %tt_all_start% -cur
|
|
|
|
rem echo.
|