From b763045f6e24475e9e33c5df7b58ba32c428f86c Mon Sep 17 00:00:00 2001 From: Ruslan Baratov Date: Fri, 11 Dec 2015 17:09:46 +0700 Subject: [PATCH] Update MSVC variables according to Hunter --- compiler/msvc-2005.cmake | 3 +++ compiler/msvc-2008.cmake | 3 +++ compiler/msvc-2010.cmake | 3 +++ compiler/msvc-2012.cmake | 3 +++ compiler/msvc-2013.cmake | 3 +++ compiler/msvc-2015.cmake | 3 +++ 6 files changed, 18 insertions(+) diff --git a/compiler/msvc-2005.cmake b/compiler/msvc-2005.cmake index d6c3dda0..f23d7254 100644 --- a/compiler/msvc-2005.cmake +++ b/compiler/msvc-2005.cmake @@ -12,3 +12,6 @@ get_filename_component( "$ENV{VS80COMNTOOLS}/../../VC/vcvarsall.bat" ABSOLUTE ) + +set(HUNTER_MSVC_YEAR 2005) +set(HUNTER_MSVC_VERSION 8) diff --git a/compiler/msvc-2008.cmake b/compiler/msvc-2008.cmake index 0d19ed69..7c5a9eb3 100644 --- a/compiler/msvc-2008.cmake +++ b/compiler/msvc-2008.cmake @@ -12,3 +12,6 @@ get_filename_component( "$ENV{VS90COMNTOOLS}/../../VC/vcvarsall.bat" ABSOLUTE ) + +set(HUNTER_MSVC_YEAR 2008) +set(HUNTER_MSVC_VERSION 9) diff --git a/compiler/msvc-2010.cmake b/compiler/msvc-2010.cmake index 1675f21d..6a091ddd 100644 --- a/compiler/msvc-2010.cmake +++ b/compiler/msvc-2010.cmake @@ -12,3 +12,6 @@ get_filename_component( "$ENV{VS100COMNTOOLS}/../../VC/vcvarsall.bat" ABSOLUTE ) + +set(HUNTER_MSVC_YEAR 2010) +set(HUNTER_MSVC_VERSION 10) diff --git a/compiler/msvc-2012.cmake b/compiler/msvc-2012.cmake index 289bbb1f..44d56ef3 100644 --- a/compiler/msvc-2012.cmake +++ b/compiler/msvc-2012.cmake @@ -12,3 +12,6 @@ get_filename_component( "$ENV{VS110COMNTOOLS}/../../VC/vcvarsall.bat" ABSOLUTE ) + +set(HUNTER_MSVC_YEAR 2012) +set(HUNTER_MSVC_VERSION 11) diff --git a/compiler/msvc-2013.cmake b/compiler/msvc-2013.cmake index f9a817c8..5e50325a 100644 --- a/compiler/msvc-2013.cmake +++ b/compiler/msvc-2013.cmake @@ -12,3 +12,6 @@ get_filename_component( "$ENV{VS120COMNTOOLS}/../../VC/vcvarsall.bat" ABSOLUTE ) + +set(HUNTER_MSVC_YEAR 2013) +set(HUNTER_MSVC_VERSION 12) diff --git a/compiler/msvc-2015.cmake b/compiler/msvc-2015.cmake index 970f4f1a..cd0a55f1 100644 --- a/compiler/msvc-2015.cmake +++ b/compiler/msvc-2015.cmake @@ -12,3 +12,6 @@ get_filename_component( "$ENV{VS140COMNTOOLS}/../../VC/vcvarsall.bat" ABSOLUTE ) + +set(HUNTER_MSVC_YEAR 2015) +set(HUNTER_MSVC_VERSION 14)