Skip to content

Commit b763045

Browse files
committed
Update MSVC variables according to Hunter
1 parent fbec89e commit b763045

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

compiler/msvc-2005.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ get_filename_component(
1212
"$ENV{VS80COMNTOOLS}/../../VC/vcvarsall.bat"
1313
ABSOLUTE
1414
)
15+
16+
set(HUNTER_MSVC_YEAR 2005)
17+
set(HUNTER_MSVC_VERSION 8)

compiler/msvc-2008.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ get_filename_component(
1212
"$ENV{VS90COMNTOOLS}/../../VC/vcvarsall.bat"
1313
ABSOLUTE
1414
)
15+
16+
set(HUNTER_MSVC_YEAR 2008)
17+
set(HUNTER_MSVC_VERSION 9)

compiler/msvc-2010.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ get_filename_component(
1212
"$ENV{VS100COMNTOOLS}/../../VC/vcvarsall.bat"
1313
ABSOLUTE
1414
)
15+
16+
set(HUNTER_MSVC_YEAR 2010)
17+
set(HUNTER_MSVC_VERSION 10)

compiler/msvc-2012.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ get_filename_component(
1212
"$ENV{VS110COMNTOOLS}/../../VC/vcvarsall.bat"
1313
ABSOLUTE
1414
)
15+
16+
set(HUNTER_MSVC_YEAR 2012)
17+
set(HUNTER_MSVC_VERSION 11)

compiler/msvc-2013.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ get_filename_component(
1212
"$ENV{VS120COMNTOOLS}/../../VC/vcvarsall.bat"
1313
ABSOLUTE
1414
)
15+
16+
set(HUNTER_MSVC_YEAR 2013)
17+
set(HUNTER_MSVC_VERSION 12)

compiler/msvc-2015.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ get_filename_component(
1212
"$ENV{VS140COMNTOOLS}/../../VC/vcvarsall.bat"
1313
ABSOLUTE
1414
)
15+
16+
set(HUNTER_MSVC_YEAR 2015)
17+
set(HUNTER_MSVC_VERSION 14)

0 commit comments

Comments
 (0)