working webp build for both x86 and x64

This commit is contained in:
wiredfool 2015-06-18 21:43:11 -07:00
parent 54d159bd42
commit a789c58bf3
2 changed files with 7 additions and 3 deletions

View File

@ -185,7 +185,7 @@ setlocal
cd /D %%WEBP%%
rd /S /Q %%WEBP%%\output\release-static
nmake -f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output all
copy /Y /B output\release-static\%(platform)s\lib\* %%INCLIB%%
copy /Y /B output\release-static\%(webp_platform)s\lib\* %%INCLIB%%
mkdir %%INCLIB%%\webp
copy /Y /B src\webp\*.h %%INCLIB%%\\webp
endlocal

View File

@ -72,14 +72,16 @@ compilers = { (7,64): {
'vc_version':'2008',
'env_flags': '/x64 /xp',
'inc_dir': 'msvcr90-x64',
'platform': 'x64'
'platform': 'x64',
'webp_platform': 'x64',
},
(7,32): {
'env_version':'v7.0',
'vc_version':'2008',
'env_flags': '/x86 /xp',
'inc_dir': 'msvcr90-x32',
'platform': 'Win32'
'platform': 'Win32',
'webp_platform': 'x86',
},
(7.1,64): {
@ -88,6 +90,7 @@ compilers = { (7,64): {
'env_flags': '/x64 /vista',
'inc_dir': 'msvcr10-x64',
'platform': 'x64',
'webp_platform': 'x64',
},
(7.1,32): {
'env_version':'v7.1',
@ -95,6 +98,7 @@ compilers = { (7,64): {
'env_flags': '/x86 /vista',
'inc_dir': 'msvcr10-x32',
'platform': 'Win32',
'webp_platform': 'x86',
},
}