tools/build_windows.bat
changeset 7810 da60e6b6baa3
parent 7799 a88a02c19a5b
child 7812 00696c1450da
equal deleted inserted replaced
7809:7d4fb2f35f4f 7810:da60e6b6baa3
     6 
     6 
     7 :setup
     7 :setup
     8 set CURRDIR="%CD%"
     8 set CURRDIR="%CD%"
     9 cd ..
     9 cd ..
    10 
    10 
    11 echo Copying the DLLs...
    11 echo Fetching all DLLs...
    12 REM xcopy /d/y %CD%\misc\winutils\bin\* .
    12 for %%G in (QtCore4 QtGui4 QtNetwork4 libgcc_s_dw2-1 mingwm10) do (
    13 xcopy /d/y %QTDIR%\QtCore4.dll bin
    13     xcopy /d/y %QTDIR%\%%G.dll bin\
    14 xcopy /d/y %QTDIR%\QtGui4.dll bin
    14 )
    15 xcopy /d/y %QTDIR%\QtNetwork4.dll bin
    15 
    16 xcopy /d/y %QTDIR%\libgcc_s_dw2-1.dll bin
    16 if not exist %CD%\misc\winutils\bin\ mkdir %CD%\misc\winutils\bin\
    17 xcopy /d/y %QTDIR%\mingwm10.dll bin
    17 if not exist %CD%\misc\winutils\bin\SDL.dll cscript %CD%\tools\w32DownloadUnzip.vbs http://www.libsdl.org/release/SDL-1.2.15-win32.zip %CD%\misc\winutils\bin
       
    18 if not exist %CD%\misc\winutils\bin\SDL_image.dll cscript %CD%\tools\w32DownloadUnzip.vbs http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12-win32.zip %CD%\misc\winutils\bin
       
    19 if not exist %CD%\misc\winutils\bin\SDL_net.dll cscript %CD%\tools\w32DownloadUnzip.vbs http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8-win32.zip %CD%\misc\winutils\bin
       
    20 if not exist %CD%\misc\winutils\bin\SDL_mixer.dll cscript %CD%\tools\w32DownloadUnzip.vbs http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12-win32.zip %CD%\misc\winutils\bin
       
    21 if not exist %CD%\misc\winutils\bin\SDL_ttf.dll cscript %CD%\tools\w32DownloadUnzip.vbs  http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11-win32.zip %CD%\misc\winutils\bin
       
    22 
       
    23 xcopy /d/y %CD%\misc\winutils\bin\*.dll bin
       
    24 xcopy /d/y %CD%\misc\winutils\bin\*.txt bin
    18 
    25 
    19 ::setting up the environment...
    26 ::setting up the environment...
    20 call %QTDIR%\qtenv2.bat
    27 call %QTDIR%\qtenv2.bat
    21 
    28 
    22 echo Running cmake...
    29 echo Running cmake...