mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-03-12 05:30:21 +03:00
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.
41 lines
885 B
Batchfile
Executable File
41 lines
885 B
Batchfile
Executable File
@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 ==
|
|
call "%VS100COMNTOOLS%vsvars32.bat"
|
|
|
|
|
|
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.
|