mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 08:12:33 +03:00
slash direction
This commit is contained in:
parent
c9fdded963
commit
4b6c813290
|
@ -92,9 +92,10 @@ setlocal
|
||||||
cd /D %TIFF%
|
cd /D %TIFF%
|
||||||
nmake -f makefile.vc clean
|
nmake -f makefile.vc clean
|
||||||
nmake -f makefile.vc
|
nmake -f makefile.vc
|
||||||
copy /Y /B *.dll %INCLIB%
|
copy /Y /B libtiff\*.dll %INCLIB%
|
||||||
copy /Y /B *.lib %INCLIB%
|
copy /Y /B libtiff\*.lib %INCLIB%
|
||||||
copy /Y /B Tiff.h %INCLIB%
|
copy /Y /B libtiff\tiff.h %INCLIB%
|
||||||
|
copy /Y /B libtiff\tiffio.h %INCLIB%
|
||||||
endlocal
|
endlocal
|
||||||
|
|
||||||
rem Build freetype
|
rem Build freetype
|
||||||
|
|
40
winbuild/tiff.cmd
Normal file
40
winbuild/tiff.cmd
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
setlocal
|
||||||
|
set MSBUILD=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
|
||||||
|
set CMAKE="C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"
|
||||||
|
set INCLIB=%~dp0\depends
|
||||||
|
set BUILD=%~dp0\build
|
||||||
|
|
||||||
|
echo "Removing Directories"
|
||||||
|
rd /S /Q %INCLIB%
|
||||||
|
rd /S /Q %BUILD%
|
||||||
|
|
||||||
|
mkdir %INCLIB%
|
||||||
|
mkdir %BUILD%
|
||||||
|
|
||||||
|
rem get libtiff
|
||||||
|
py -3 fetch.py ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.zip
|
||||||
|
py -3 unzip.py tiff-4.0.3.zip %BUILD%
|
||||||
|
set TIFF=%BUILD%\tiff-4.0.3
|
||||||
|
copy /Y /B tiff-4.0.3.zip %INCLIB%
|
||||||
|
|
||||||
|
rem Build for VC 2008 64 bit
|
||||||
|
setlocal EnableDelayedExpansion
|
||||||
|
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 /vista
|
||||||
|
set INCLIB=%INCLIB%\msvcr90-x64
|
||||||
|
mkdir %INCLIB%
|
||||||
|
|
||||||
|
|
||||||
|
rem Build libtiff
|
||||||
|
setlocal
|
||||||
|
cd /D %TIFF%
|
||||||
|
nmake -f makefile.vc clean
|
||||||
|
nmake -f makefile.vc
|
||||||
|
copy /Y /B libtiff\*.dll %INCLIB%
|
||||||
|
copy /Y /B libtiff\*.lib %INCLIB%
|
||||||
|
copy /Y /B libtiff\tiff.h %INCLIB%
|
||||||
|
copy /Y /B libtiff\tiffio.h %INCLIB%
|
||||||
|
endlocal
|
||||||
|
|
||||||
|
endlocal
|
||||||
|
rem UNDONE --removeme!
|
||||||
|
exit
|
Loading…
Reference in New Issue
Block a user