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

JMK three4teen16 at coldmail.nu
Wed Oct 16 08:47:55 CEST 2013


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.

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!)


More information about the x265-devel mailing list