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

Kurtnoise kurtnoise at free.fr
Wed Oct 16 06:53:06 CEST 2013


Hi,

XP plateforms require v110_xp as toolset instead of v110. Otherwise, 
applications don't run correctly on this plateform.

This patch requires CMake 2.8.11. The flag dedicated to the toolset has 
been fixed in this version.

Regards,
Kurtnoise

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


More information about the x265-devel mailing list