[x265] [PATCH 4 of 8] cmake: change msvc multilib build folders to 8bit/10bit
Steve Borho
steve at borho.org
Tue Jun 23 05:03:55 CEST 2015
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1435023159 18000
# Mon Jun 22 20:32:39 2015 -0500
# Node ID 0b36c393bb3a2ddaacad0c05dafd78aa3ca44682
# Parent 901fc6837a25aca531c9056ed59a6e75126c4a53
cmake: change msvc multilib build folders to 8bit/10bit
diff -r 901fc6837a25 -r 0b36c393bb3a build/vc10-x86_64/multilib.bat
--- a/build/vc10-x86_64/multilib.bat Mon Jun 22 20:24:34 2015 -0500
+++ b/build/vc10-x86_64/multilib.bat Mon Jun 22 20:32:39 2015 -0500
@@ -4,27 +4,27 @@
exit 1
)
- at mkdir 10bpp
- at mkdir 8bpp
+ at mkdir 10bit
+ at mkdir 8bit
- at cd 10bpp
+ at cd 10bit
if not exist x265.sln (
cmake -G "Visual Studio 10 Win64" ../../../source -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DWINXP_SUPPORT=ON
)
if exist x265.sln (
call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat"
MSBuild /property:Configuration="Release" x265.sln
- copy/y Release\x265-static.lib ..\8bpp\x265-static-10bpp.lib
+ copy/y Release\x265-static.lib ..\8bit\x265-static-main10.lib
)
@cd ..
- at cd 8bpp
-if not exist x265-static-10bpp.lib (
- msg "%username%" "10bpp build failured"
+ at cd 8bit
+if not exist x265-static-main10.lib (
+ msg "%username%" "10bit build failured"
exit 1
)
if not exist x265.sln (
- cmake -G "Visual Studio 10 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-10bpp.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
+ cmake -G "Visual Studio 10 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-main10.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
)
if exist x265.sln (
call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat"
diff -r 901fc6837a25 -r 0b36c393bb3a build/vc11-x86_64/multilib.bat
--- a/build/vc11-x86_64/multilib.bat Mon Jun 22 20:24:34 2015 -0500
+++ b/build/vc11-x86_64/multilib.bat Mon Jun 22 20:32:39 2015 -0500
@@ -4,27 +4,27 @@
exit 1
)
- at mkdir 10bpp
- at mkdir 8bpp
+ at mkdir 10bit
+ at mkdir 8bit
- at cd 10bpp
+ at cd 10bit
if not exist x265.sln (
cmake -G "Visual Studio 11 Win64" ../../../source -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DWINXP_SUPPORT=ON
)
if exist x265.sln (
call "%VS110COMNTOOLS%\..\..\VC\vcvarsall.bat"
MSBuild /property:Configuration="Release" x265.sln
- copy/y Release\x265-static.lib ..\8bpp\x265-static-10bpp.lib
+ copy/y Release\x265-static.lib ..\8bit\x265-static-main10.lib
)
@cd ..
- at cd 8bpp
-if not exist x265-static-10bpp.lib (
- msg "%username%" "10bpp build failured"
+ at cd 8bit
+if not exist x265-static-main10.lib (
+ msg "%username%" "10bit build failured"
exit 1
)
if not exist x265.sln (
- cmake -G "Visual Studio 11 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-10bpp.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
+ cmake -G "Visual Studio 11 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-main10.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
)
if exist x265.sln (
call "%VS110COMNTOOLS%\..\..\VC\vcvarsall.bat"
diff -r 901fc6837a25 -r 0b36c393bb3a build/vc12-x86_64/multilib.bat
--- a/build/vc12-x86_64/multilib.bat Mon Jun 22 20:24:34 2015 -0500
+++ b/build/vc12-x86_64/multilib.bat Mon Jun 22 20:32:39 2015 -0500
@@ -4,27 +4,27 @@
exit 1
)
- at mkdir 10bpp
- at mkdir 8bpp
+ at mkdir 10bit
+ at mkdir 8bit
- at cd 10bpp
+ at cd 10bit
if not exist x265.sln (
cmake -G "Visual Studio 12 Win64" ../../../source -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DWINXP_SUPPORT=ON
)
if exist x265.sln (
call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
MSBuild /property:Configuration="Release" x265.sln
- copy/y Release\x265-static.lib ..\8bpp\x265-static-10bpp.lib
+ copy/y Release\x265-static.lib ..\8bit\x265-static-main10.lib
)
@cd ..
- at cd 8bpp
-if not exist x265-static-10bpp.lib (
- msg "%username%" "10bpp build failured"
+ at cd 8bit
+if not exist x265-static-main10.lib (
+ msg "%username%" "10bit build failured"
exit 1
)
if not exist x265.sln (
- cmake -G "Visual Studio 12 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-10bpp.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
+ cmake -G "Visual Studio 12 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-main10.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
)
if exist x265.sln (
call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
diff -r 901fc6837a25 -r 0b36c393bb3a build/vc9-x86_64/multilib.bat
--- a/build/vc9-x86_64/multilib.bat Mon Jun 22 20:24:34 2015 -0500
+++ b/build/vc9-x86_64/multilib.bat Mon Jun 22 20:32:39 2015 -0500
@@ -4,27 +4,27 @@
exit 1
)
- at mkdir 10bpp
- at mkdir 8bpp
+ at mkdir 10bit
+ at mkdir 8bit
- at cd 10bpp
+ at cd 10bit
if not exist x265.sln (
cmake -G "Visual Studio 9 2008 Win64" ../../../source -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DWINXP_SUPPORT=ON
)
if exist x265.sln (
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat"
MSBuild /property:Configuration="Release" x265.sln
- copy/y Release\x265-static.lib ..\8bpp\x265-static-10bpp.lib
+ copy/y Release\x265-static.lib ..\8bit\x265-static-main10.lib
)
@cd ..
- at cd 8bpp
-if not exist x265-static-10bpp.lib (
- msg "%username%" "10bpp build failured"
+ at cd 8bit
+if not exist x265-static-main10.lib (
+ msg "%username%" "main10 build failured"
exit 1
)
if not exist x265.sln (
- cmake -G "Visual Studio 9 2008 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-10bpp.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
+ cmake -G "Visual Studio 9 2008 Win64" ../../../source -DHIGH_BIT_DEPTH=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=ON -DWINXP_SUPPORT=ON -DEXTRA_LIB=x265-static-main10.lib -DEXTRA_LINK_FLAGS="/FORCE:MULTIPLE"
)
if exist x265.sln (
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat"
More information about the x265-devel
mailing list