set SCRIBUS_BUILDS_DIR="C:\Users\Host\dawood\scribus-build\Scribus-builds" set SCRIBUS_LIB_TOOLSET=v110 if "%1"=="v100" set SCRIBUS_LIB_TOOLSET=v100 if "%1"=="v110" set SCRIBUS_LIB_TOOLSET=v110 if "%1"=="v110_xp" set SCRIBUS_LIB_TOOLSET=v110_xp if "%1"=="v120" set SCRIBUS_LIB_TOOLSET=v120 if "%1"=="v120_xp" set SCRIBUS_LIB_TOOLSET=v120_xp set SCRIBUS_DEBUG_BUILD_WIN32=%SCRIBUS_BUILDS_DIR%\scribus-debug-win32-%SCRIBUS_LIB_TOOLSET% set SCRIBUS_RELEASE_BUILD_WIN32=%SCRIBUS_BUILDS_DIR%\scribus-release-win32-%SCRIBUS_LIB_TOOLSET% set SCRIBUS_DEBUG_BUILD_X64=%SCRIBUS_BUILDS_DIR%\scribus-debug-x64-%SCRIBUS_LIB_TOOLSET% set SCRIBUS_RELEASE_BUILD_X64=%SCRIBUS_BUILDS_DIR%\scribus-release-x64-%SCRIBUS_LIB_TOOLSET% set PYTHON_DIR_WIN32=python-2.7.10-win32 set PYTHON_DIR_X64=python-2.7.10-amd64 IF NOT EXIST %SCRIBUS_DEBUG_BUILD_WIN32% GOTO NO_DEBUG_DIR_WIN32 IF NOT EXIST %SCRIBUS_DEBUG_BUILD_WIN32%\python mkdir %SCRIBUS_DEBUG_BUILD_WIN32%\python copy %PYTHON_DIR_WIN32%\python27.dll %SCRIBUS_DEBUG_BUILD_WIN32% xcopy %PYTHON_DIR_WIN32%\dlls %SCRIBUS_DEBUG_BUILD_WIN32%\python\dlls /s /y /i /D xcopy %PYTHON_DIR_WIN32%\lib %SCRIBUS_DEBUG_BUILD_WIN32%\python\lib /s /y /i /D xcopy %PYTHON_DIR_WIN32%\tcl %SCRIBUS_DEBUG_BUILD_WIN32%\python\tcl /s /y /i /D :NO_DEBUG_DIR_WIN32 IF NOT EXIST %SCRIBUS_RELEASE_BUILD_WIN32% GOTO NO_RELEASE_DIR_WIN32 IF NOT EXIST %SCRIBUS_RELEASE_BUILD_WIN32%\python mkdir %SCRIBUS_RELEASE_BUILD_WIN32%\python copy %PYTHON_DIR_WIN32%\python27.dll %SCRIBUS_RELEASE_BUILD_WIN32% xcopy %PYTHON_DIR_WIN32%\dlls %SCRIBUS_RELEASE_BUILD_WIN32%\python\dlls /s /y /i /D xcopy %PYTHON_DIR_WIN32%\lib %SCRIBUS_RELEASE_BUILD_WIN32%\python\lib /s /y /i /D xcopy %PYTHON_DIR_WIN32%\tcl %SCRIBUS_RELEASE_BUILD_WIN32%\python\tcl /s /y /i /D :NO_RELEASE_DIR_WIN32 IF NOT EXIST %SCRIBUS_DEBUG_BUILD_X64% GOTO NO_DEBUG_DIR_X64 IF NOT EXIST %SCRIBUS_DEBUG_BUILD_X64%\python mkdir %SCRIBUS_DEBUG_BUILD_X64%\python copy %PYTHON_DIR_X64%\python27.dll %SCRIBUS_DEBUG_BUILD_X64% xcopy %PYTHON_DIR_X64%\dlls %SCRIBUS_DEBUG_BUILD_X64%\python\dlls /s /y /i /D xcopy %PYTHON_DIR_X64%\lib %SCRIBUS_DEBUG_BUILD_X64%\python\lib /s /y /i /D xcopy %PYTHON_DIR_X64%\tcl %SCRIBUS_DEBUG_BUILD_X64%\python\tcl /s /y /i /D :NO_DEBUG_DIR_X64 IF NOT EXIST %SCRIBUS_RELEASE_BUILD_X64% GOTO NO_RELEASE_DIR_X64 IF NOT EXIST %SCRIBUS_RELEASE_BUILD_X64%\python mkdir %SCRIBUS_RELEASE_BUILD_X64%\python copy %PYTHON_DIR_X64%\python27.dll %SCRIBUS_RELEASE_BUILD_X64% xcopy %PYTHON_DIR_X64%\dlls %SCRIBUS_RELEASE_BUILD_X64%\python\dlls /s /y /i /D xcopy %PYTHON_DIR_X64%\lib %SCRIBUS_RELEASE_BUILD_X64%\python\lib /s /y /i /D xcopy %PYTHON_DIR_X64%\tcl %SCRIBUS_RELEASE_BUILD_X64%\python\tcl /s /y /i /D :NO_RELEASE_DIR_X64