libbpg-0.9.6
This commit is contained in:
parent
3035b41edf
commit
35a8402710
248 changed files with 232891 additions and 100 deletions
14
x265/build/vc9-x86_64/build-all.bat
Normal file
14
x265/build/vc9-x86_64/build-all.bat
Normal file
|
@ -0,0 +1,14 @@
|
|||
@echo off
|
||||
if "%VS90COMNTOOLS%" == "" (
|
||||
msg "%username%" "Visual Studio 9 not detected"
|
||||
exit 1
|
||||
)
|
||||
if not exist x265.sln (
|
||||
call make-solutions.bat
|
||||
)
|
||||
if exist x265.sln (
|
||||
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat"
|
||||
MSBuild /property:Configuration="Release" x265.sln
|
||||
MSBuild /property:Configuration="Debug" x265.sln
|
||||
MSBuild /property:Configuration="RelWithDebInfo" x265.sln
|
||||
)
|
6
x265/build/vc9-x86_64/make-solutions.bat
Normal file
6
x265/build/vc9-x86_64/make-solutions.bat
Normal file
|
@ -0,0 +1,6 @@
|
|||
@echo off
|
||||
::
|
||||
:: run this batch file to create a Visual Studio solution file for this project.
|
||||
:: See the cmake documentation for other generator targets
|
||||
::
|
||||
cmake -G "Visual Studio 9 2008 Win64" ..\..\source && cmake-gui ..\..\source
|
44
x265/build/vc9-x86_64/multilib.bat
Normal file
44
x265/build/vc9-x86_64/multilib.bat
Normal file
|
@ -0,0 +1,44 @@
|
|||
@echo off
|
||||
if "%VS90COMNTOOLS%" == "" (
|
||||
msg "%username%" "Visual Studio 9 not detected"
|
||||
exit 1
|
||||
)
|
||||
|
||||
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat"
|
||||
|
||||
@mkdir 12bit
|
||||
@mkdir 10bit
|
||||
@mkdir 8bit
|
||||
|
||||
@cd 12bit
|
||||
cmake -G "Visual Studio 9 2008 Win64" ../../../source -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON
|
||||
if exist x265.sln (
|
||||
MSBuild /property:Configuration="Release" x265.sln
|
||||
copy/y Release\x265-static.lib ..\8bit\x265-static-main12.lib
|
||||
)
|
||||
|
||||
@cd ..\10bit
|
||||
cmake -G "Visual Studio 9 2008 Win64" ../../../source -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF
|
||||
if exist x265.sln (
|
||||
MSBuild /property:Configuration="Release" x265.sln
|
||||
copy/y Release\x265-static.lib ..\8bit\x265-static-main10.lib
|
||||
)
|
||||
|
||||
@cd ..\8bit
|
||||
if not exist x265-static-main10.lib (
|
||||
msg "%username%" "10bit build failed"
|
||||
exit 1
|
||||
)
|
||||
if not exist x265-static-main12.lib (
|
||||
msg "%username%" "12bit build failed"
|
||||
exit 1
|
||||
)
|
||||
cmake -G "Visual Studio 9 2008 Win64" ../../../source -DEXTRA_LIB="x265-static-main10.lib;x265-static-main12.lib" -DLINKED_10BIT=ON -DLINKED_12BIT=ON
|
||||
if exist x265.sln (
|
||||
MSBuild /property:Configuration="Release" x265.sln
|
||||
:: combine static libraries (ignore warnings caused by winxp.cpp hacks)
|
||||
move Release\x265-static.lib x265-static-main.lib
|
||||
LIB.EXE /ignore:4006 /ignore:4221 /OUT:Release\x265-static.lib x265-static-main.lib x265-static-main10.lib x265-static-main12.lib
|
||||
)
|
||||
|
||||
pause
|
Loading…
Add table
Add a link
Reference in a new issue