From 878d72b387d13bdb7713b142abae32bc28a51047 Mon Sep 17 00:00:00 2001 From: Littleboy Date: Sun, 24 Apr 2011 13:33:23 -0400 Subject: CREATE_PROJECT: Move project-specific information to configuration file User-visible output and project-specific names are now defined in a config header. This allows an easier usage of the create_project tools in other scummvm-derived projects (such as residual). --- devtools/create_project/scripts/postbuild.cmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devtools/create_project/scripts') diff --git a/devtools/create_project/scripts/postbuild.cmd b/devtools/create_project/scripts/postbuild.cmd index f548b81442..6c062f7ab1 100644 --- a/devtools/create_project/scripts/postbuild.cmd +++ b/devtools/create_project/scripts/postbuild.cmd @@ -11,10 +11,12 @@ REM Expected parameters REM Root folder REM Output folder REM Architecture +REM Libs folder if "%~1"=="" goto error_root if "%~2"=="" goto error_output if "%~3"=="" goto error_arch +if "%~4"=="" goto error_libs echo Copying data files echo. @@ -26,7 +28,7 @@ xcopy /F /Y "%~1/dists/engine-data/*.cpt" %~2 > NUL 2>&1 xcopy /F /Y "%~1/dists/engine-data/README" %~2 > NUL 2>&1 xcopy /F /Y "%~1/gui/themes/*.zip" %~2 > NUL 2>&1 xcopy /F /Y "%~1/gui/themes/translations.dat" %~2 > NUL 2>&1 -xcopy /F /Y "%SCUMMVM_LIBS%/lib/%~3/SDL.dll" %~2 > NUL 2>&1 +xcopy /F /Y "%~4/lib/%~3/SDL.dll" %~2 > NUL 2>&1 goto done :error_root @@ -41,5 +43,9 @@ goto done echo Invalid arch parameter (was: %~3, allowed: x86, x64)! goto done +:error_libs +echo Invalid libs folder (%~4)! +goto done + :done exit /B0 -- cgit v1.2.3