view build/win32/build_environments/scons/copy_dlls.bat @ 693:5e010218273d

This commit is to back port a fix from 0.3.3 dev branch to the trunk. The directory provider will now use the boost::filesystem::is_directory function to determine if the passed in source is a directory. This allows a python client (through VFS::addNewSource) to add a directory source that is either an absolute path or a relative path from where the application is launched. [t:544]
author vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 08 Jun 2011 04:34:50 +0000
parents ae479ce3f762
children
line wrap: on
line source

@echo off

if not defined xcopy goto :noxcopy
xcopy "..\..\binaries\mingw\*.dll" "..\..\..\..\engine\python\fife" /e /c /i /q /y
if "%1" == "install" xcopy "..\..\binaries\mingw\*.dll" "C:\Python27\Lib\site-packages\fife" /e /c /i /q /y

:noxcopy
%SystemRoot%\system32\xcopy "..\..\binaries\mingw\*.dll" "..\..\..\..\engine\python\fife" /e /c /i /q /y
if "%1" == "install" %SystemRoot%\system32\xcopy "..\..\binaries\mingw\*.dll" "C:\Python27\Lib\site-packages\fife" /e /c /i /q /y