Updated build script.

This commit is contained in:
LoRd_MuldeR 2015-02-02 22:18:40 +01:00
parent e669acfd39
commit fd689aeb70
2 changed files with 13 additions and 11 deletions

View File

@ -26,7 +26,7 @@
#define VER_X264_MAJOR 2 #define VER_X264_MAJOR 2
#define VER_X264_MINOR 4 #define VER_X264_MINOR 4
#define VER_X264_PATCH 6 #define VER_X264_PATCH 6
#define VER_X264_BUILD 914 #define VER_X264_BUILD 915
#define VER_X264_PORTABLE_EDITION (0) #define VER_X264_PORTABLE_EDITION (0)

View File

@ -6,6 +6,7 @@ set "MSVC_PATH=C:\Program Files\Microsoft Visual Studio 12.0\VC"
set "NSIS_PATH=C:\Program Files\NSIS\Unicode" set "NSIS_PATH=C:\Program Files\NSIS\Unicode"
set "QTVC_PATH=C:\Qt\4.8.5" set "QTVC_PATH=C:\Qt\4.8.5"
set "UPX3_PATH=C:\Program Files\UPX" set "UPX3_PATH=C:\Program Files\UPX"
set "PDOC_PATH=C:\Program Files\Pandoc"
REM ############################################### REM ###############################################
REM # DO NOT MODIFY ANY LINES BELOW THIS LINE !!! # REM # DO NOT MODIFY ANY LINES BELOW THIS LINE !!! #
@ -91,13 +92,14 @@ mkdir "%PACK_PATH%\toolset\x86"
mkdir "%PACK_PATH%\toolset\x64" mkdir "%PACK_PATH%\toolset\x64"
mkdir "%PACK_PATH%\toolset\common" mkdir "%PACK_PATH%\toolset\common"
mkdir "%PACK_PATH%\sources" mkdir "%PACK_PATH%\sources"
copy "%~dp0\bin\Release\*.exe" "%PACK_PATH%" copy "%~dp0\bin\Win32\Release\x264_launcher.exe" "%PACK_PATH%"
copy "%~dp0\bin\Release\toolset\x86\*.exe" "%PACK_PATH%\toolset\x86" copy "%~dp0\bin\Win32\Release\MUtils32-?.dll" "%PACK_PATH%"
copy "%~dp0\bin\Release\toolset\x86\*.dll" "%PACK_PATH%\toolset\x86" copy "%~dp0\bin\Win32\Release\toolset\x86\*.exe" "%PACK_PATH%\toolset\x86"
copy "%~dp0\bin\Release\toolset\x64\*.exe" "%PACK_PATH%\toolset\x64" copy "%~dp0\bin\Win32\Release\toolset\x86\*.dll" "%PACK_PATH%\toolset\x86"
copy "%~dp0\bin\Release\toolset\x64\*.dll" "%PACK_PATH%\toolset\x64" copy "%~dp0\bin\Win32\Release\toolset\x64\*.exe" "%PACK_PATH%\toolset\x64"
copy "%~dp0\bin\Release\toolset\common\*.exe" "%PACK_PATH%\toolset\common" copy "%~dp0\bin\Win32\Release\toolset\x64\*.dll" "%PACK_PATH%\toolset\x64"
copy "%~dp0\bin\Release\toolset\common\*.gpg" "%PACK_PATH%\toolset\common" copy "%~dp0\bin\Win32\Release\toolset\common\*.exe" "%PACK_PATH%\toolset\common"
copy "%~dp0\bin\Win32\Release\toolset\common\*.gpg" "%PACK_PATH%\toolset\common"
copy "%~dp0\etc\sources\*.tar" "%PACK_PATH%\sources" copy "%~dp0\etc\sources\*.tar" "%PACK_PATH%\sources"
copy "%~dp0\LICENSE.html" "%PACK_PATH%" copy "%~dp0\LICENSE.html" "%PACK_PATH%"
copy "%~dp0\*.txt" "%PACK_PATH%" copy "%~dp0\*.txt" "%PACK_PATH%"