diff options
author | SupSuper | 2018-12-19 20:47:51 +0000 |
---|---|---|
committer | Filippos Karapetis | 2018-12-23 18:39:06 +0200 |
commit | e6a80868c64bf9dbefa786686b0257fef7a8f2ef (patch) | |
tree | 62020736dd95dc9949f25e8a91edb2585609cb71 /devtools/create_project/scripts | |
parent | 3091345af36b879bb1f34fc3862fa596cf92d57d (diff) | |
download | scummvm-rg350-e6a80868c64bf9dbefa786686b0257fef7a8f2ef.tar.gz scummvm-rg350-e6a80868c64bf9dbefa786686b0257fef7a8f2ef.tar.bz2 scummvm-rg350-e6a80868c64bf9dbefa786686b0257fef7a8f2ef.zip |
MSVC: Update DLL paths in post-build script
Diffstat (limited to 'devtools/create_project/scripts')
-rw-r--r-- | devtools/create_project/scripts/postbuild.cmd | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devtools/create_project/scripts/postbuild.cmd b/devtools/create_project/scripts/postbuild.cmd index e30d662eb7..e2ea412663 100644 --- a/devtools/create_project/scripts/postbuild.cmd +++ b/devtools/create_project/scripts/postbuild.cmd @@ -4,27 +4,27 @@ REM --------------------------------------------------------------- REM -- Post-Build Script
REM ---------------------------------------------------------------
REM
-REM Copy engine data, themes, translation and required dlls to the
+REM Copy engine data and required dlls to the
REM output folder and optionally create an installer
REM
REM Expected parameters
REM Root folder
REM Output folder
-REM Architecture
+REM SDL version
REM Libs folder
REM Installer ("1" to build, "0" to skip)
if "%~1"=="" goto error_root
if "%~2"=="" goto error_output
-if "%~3"=="" goto error_arch
+if "%~3"=="" goto error_sdl
if "%~4"=="" goto error_libs
if "%~5"=="" goto error_installer
echo Copying data files
echo.
-xcopy /F /Y "%~4/lib/%~3/SDL.dll" "%~2" 1>NUL 2>&1
-xcopy /F /Y "%~4/lib/%~3/freetype6.dll" "%~2" 1>NUL 2>&1
+xcopy /F /Y "%~4/%~3.dll" "%~2" 1>NUL 2>&1
+xcopy /F /Y "%~4/WinSparkle.dll" "%~2" 1>NUL 2>&1
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_default.zip" "%~2" 1>NUL 2>&1
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_small.zip" "%~2" 1>NUL 2>&1
@@ -33,7 +33,7 @@ if "%~5"=="0" goto done echo Running installer script
echo.
-@call cscript "%~1/devtools/create_project/scripts/installer.vbs" "%~1" "%~2" "%~3" 1>NUL
+@call cscript "%~1/devtools/create_project/scripts/installer.vbs" "%~1" "%~2" 1>NUL
if not %errorlevel% == 0 goto error_script
goto done
@@ -45,8 +45,8 @@ goto done echo Invalid output folder (%~2)!
goto done
-:error_arch
-echo Invalid arch parameter (was: %~3, allowed: x86, x64)!
+:error_sdl
+echo Invalid SDL parameter (was: %~3, allowed: SDL, SDL2)!
goto done
:error_libs
|