[x265] [PATCH] Add Windows XP support in MSVC11 builds

Steve Borho steve at borho.org
Wed Oct 16 22:26:45 CEST 2013


On Wed, Oct 16, 2013 at 1:47 AM, JMK <three4teen16 at coldmail.nu> wrote:

> This was originally posted on Doom9's forum,
>
> http://forum.doom9.org/showthread.php?p=1648065#post1648065
>
> and I'm re-posting it here,
> only because it seems its author hasn't joined the x265 mailing list.
>
> **********************************************
>
> # HG changeset patch
> # User Kurtnoise <kurtnoise at free.fr>
> # Date 1381898006 -7200
> #      Wed Oct 16 06:33:26 2013 +0200
> # Node ID 723e554191e14e6289342043225e485e656c27d7
> # Parent  a998daed845922b3b880b48c0cafa32c422c941e
> Add Windows XP support in MSVC11 builds. This requires CMake 2.8.11 or
> later.
>

This would require the most recent release of CMake and MSVC 2012 Update 1,
and we have no good way to query the update status of MSVC from this batch
file.  This info should probably live in the build README and on the wiki.


> diff -r a998daed8459 -r 723e554191e1 build/vc11-x86/make-solutions.bat
> --- a/build/vc11-x86/make-solutions.bat Tue Oct 15 20:57:47 2013 -0500
> +++ b/build/vc11-x86/make-solutions.bat Wed Oct 16 06:33:26 2013 +0200
> @@ -3,4 +3,4 @@
>  :: run this batch file to create a Visual Studion solution file for this
> project.
>  :: See the cmake documentation for other generator targets
>  ::
> -cmake -G "Visual Studio 11" ..\..\source && cmake-gui ..\..\source
> +cmake -G "Visual Studio 11" -T "v110_xp" ..\..\source && cmake-gui
> ..\..\source
> diff -r a998daed8459 -r 723e554191e1 build/vc11-x86_64/make-solutions.bat
> --- a/build/vc11-x86_64/make-solutions.bat      Tue Oct 15 20:57:47 2013
> -0500
> +++ b/build/vc11-x86_64/make-solutions.bat      Wed Oct 16 06:33:26 2013
> +0200
> @@ -3,4 +3,4 @@
>  :: run this batch file to create a Visual Studion solution file for this
> project.
>  :: See the cmake documentation for other generator targets
>  ::
> -cmake -G "Visual Studio 11 Win64" ..\..\source && cmake-gui ..\..\source
> +cmake -G "Visual Studio 11 Win64" -T "v110_xp" ..\..\source && cmake-gui
> ..\..\source
> diff -r a998daed8459 -r 723e554191e1 source/CMakeLists.txt
> --- a/source/CMakeLists.txt     Tue Oct 15 20:57:47 2013 -0500
> +++ b/source/CMakeLists.txt     Wed Oct 16 06:33:26 2013 +0200
> @@ -7,7 +7,7 @@
>  endif()
>
>  project (x265)
> -cmake_minimum_required (VERSION 2.8.8) # OBJECT libraries require 2.8.8
> +cmake_minimum_required (VERSION 2.8.11) # OBJECT libraries require 2.8.11
>
>  # X265_BUILD must be incremented each time the public API is changed
>  set(X265_BUILD 1)
>
> _____________________________________________________________
> ps. Do you like my email address? Get yourself a coldmail.nu address too
> http://www.coldmail.nu (it's free!)
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131016/f144f800/attachment.html>


More information about the x265-devel mailing list