take 1 at lcms2

This commit is contained in:
wiredfool 2014-03-18 22:32:13 -07:00
parent b2a52caad9
commit 74794d473f

View File

@ -31,7 +31,14 @@ py -3 unzip.py jpegsr9a.zip %BUILD%
set LIBJPEG=%BUILD%\jpeg-9a
copy /Y /B jpegsr9a.zip %INCLIB%
rem Get lcms2
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/lcms/lcms/2.6/lcms2-2.6.zip
py -3 unzip.py lcms2-2.6.zip %BUILD%
set LCMS=%BUILD%\lcms2-2.6
copy /Y /B lcms2-2.6.zip %INCLIB%
rem Get tcl/tk
py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/tcl/Tcl/8.5.13/tcl8513-src.zip
py -3 unzip.py tcl8513-src.zip %BUILD%
copy /Y /B tcl8513-src.zip %INCLIB%
@ -84,6 +91,17 @@ xcopy /E /Q %FREETYPE%\objs\win32\vc2008 %INCLIB%
copy /Y /B %FREETYPE%\objs\win32\vc2008\*.lib %INCLIB%\freetype.lib
endlocal
rem Build lcms2
setlocal
py -3 %~dp0\fixproj.py %LCMS%\Projects\vc2008\lcms2.sln x64
py -3 %~dp0\fixproj.py %LCMS%\Projects\vc2008\lcms2.vcproj x64
rd /S /Q %LCMS%\objs
%MSBUILD% %LCMS%\Projects\vc2008\lcms2.sln /t:Clean;Build /p:Configuration="LIB Release";Platform=x64
xcopy /E /Q %LCMS%\include %INCLIB%
xcopy /E /Q %LCMS%\objs\win32\vc2008 %INCLIB%
copy /Y /B %LCMS%\objs\win32\vc2008\*.lib %INCLIB%\lcms2.lib
endlocal
endlocal
rem Build for VC 2008 32 bit