I don't think so:

In Microsoft SDK 7.1 Command Prompt:

E:\Other\tmp\libgit2\build>set
ALLUSERSPROFILE=C:\ProgramData
ANT_HOME=C:\Program Files (x86)\WinAnt
APPDATA=C:\Users\jv\AppData\Roaming
APPVER=6.1
CL=/AI C:\Windows\Microsoft.NET\Framework64\v4.0.30319
CommandPromptType=Native
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WIN7
ComSpec=C:\Windows\system32\cmd.exe
Configuration=Debug
CURRENT_CPU=x64
CVS_RSH=plink
FP_NO_HOST_CHECK=NO
FrameworkVersion=v4.0.30319
HOMEDRIVE=C:
HOMEPATH=\Users\jv
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Progra
m Files\Microsoft SDKs\Windows\v7.1\INCLUDE;C:\Program Files\Microsoft SDKs\Wind
ows\v7.1\INCLUDE\gl;
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34\jre
LIB=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib\amd64;C:\Program
Files\Microsoft SDKs\Windows\v7.1\Lib\X64;
LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET
\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Micro
soft.NET\Framework\v3.5;;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\
Lib\amd64;
LOCALAPPDATA=C:\Users\jv\AppData\Local
LOGONSERVER=\\WIN7
NUMBER_OF_PROCESSORS=1
ORIGINALPATH=C:\Program Files (x86)\CollabNet\Subversion Client;C:\Windows\syste
m32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1
.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x8
6)\Git\cmd;c:\Ruby187\bin;C:\Program Files (x86)\CollabNet\Subversion Client;C:\
Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Windows
PowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Prog
ram Files (x86)\Git\cmd;c:\Program Files (x86)\UnxUtils\usr\local\wbin\;c:\Borla
nd\BCC55\Bin\;c:\Borland\TASM\BIN\;C:\Program Files (x86)\CVS Suite\CVSNT Tools\
;C:\Program Files (x86)\WinAnt\bin;C:\Program Files\Java\jdk1.6.0_34\bin;C:\Mave
n 3.0.4\apache-maven-3.0.4\bin;c:\Ruby187\bin
OS=Windows_NT
Path=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Fr
amework\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsof
t.NET\Framework\v3.5;;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common
7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;;C:\Prog
ram Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64;C:\Program Files (x86)
\Microsoft Visual Studio 10.0\VC\Bin\VCPackages;;C:\Program Files\Microsoft SDKs
\Windows\v7.1\Bin\NETFX 4.0 Tools\x64;C:\Program Files\Microsoft SDKs\Windows\v7
.1\Bin\x64;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin;;C:\Program Files (x
86)\CollabNet\Subversion Client;C:\Windows\system32;C:\Windows;C:\Windows\System
32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft W
indows Performance Toolkit\;C:\Program Files (x86)\Git\cmd;c:\Ruby187\bin;C:\Pro
gram Files (x86)\CollabNet\Subversion Client;C:\Windows\system32;C:\Windows;C:\W
indows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program File
s\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Git\cmd;c:\Progr
am Files (x86)\UnxUtils\usr\local\wbin\;c:\Borland\BCC55\Bin\;c:\Borland\TASM\BI
N\;C:\Program Files (x86)\CVS Suite\CVSNT Tools\;C:\Program Files (x86)\WinAnt\b
in;C:\Program Files\Java\jdk1.6.0_34\bin;C:\Maven 3.0.4\apache-maven-3.0.4\bin;c
:\Ruby187\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PlatformToolset=Windows7.1SDK
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
sdkdir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TARGET_CPU=x64
TARGET_PLATFORM=WIN7
TEMP=C:\Users\jv\AppData\Local\Temp
TMP=C:\Users\jv\AppData\Local\Temp
ToolsVersion=4.0
USERDOMAIN=win7
USERNAME=jv
USERPROFILE=C:\Users\jv
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools
\
windir=C:\Windows
WindowsSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
WindowsSDKVersionOverride=v7.1

E:\Other\tmp\libgit2\build>
E:\Other\tmp\libgit2\build>"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -G "
Visual Studio 10" -DBUILD_CLAR=off ..
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTes
tCCompiler.cmake:52 (MESSAGE):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: E:/Other/tmp/libgit2/build/CMakeFiles/CMakeTmp



  Run Build
  Command:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
  cmTryCompileExec3374662057.vcxproj /p:Configuration=Debug

  Microsoft (R) Build Engine Version 4.0.30319.1

  [Microsoft .NET Framework, Version 4.0.30319.269]

  Copyright (C) Microsoft Corporation 2007.  All rights reserved.



  Build started 9/27/2012 11:07:37 AM.

  Project
  "E:\Other\tmp\libgit2\build\CMakeFiles\CMakeTmp\cmTryCompileExec3374662057.vcx
proj"
  on node 1 (default targets).

  C:\Program Files
  (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\Windows7.1SD
K\Microsoft.Cpp.Win32.Windows7.1SDK.targets(20,5):
  error : You are attempting to build a Win32 application from an x64
  environment.  If using the Windows 7.1 SDK build environment, type setenv
  /x86
  [E:\Other\tmp\libgit2\build\CMakeFiles\CMakeTmp\cmTryCompileExec3374662057.vcx
proj]


  Done Building Project
  "E:\Other\tmp\libgit2\build\CMakeFiles\CMakeTmp\cmTryCompileExec3374662057.vcx
proj"
  (default targets) -- FAILED.



  Build FAILED.




  "E:\Other\tmp\libgit2\build\CMakeFiles\CMakeTmp\cmTryCompileExec3374662057.vcx
proj"
  (default target) (1) ->

  (_WindowsSDKPrepareForBuild target) ->

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformTo
olsets\Windows7.1SDK\Microsoft.Cpp.Win32.Windows7.1SDK.targets(20,5): error : Yo
u are attempting to build a Win32 application from an x64 environment. If using
the Windows 7.1 SDK build environment, type setenv /x86 [E:\Other\tmp\libgit2\bu
ild\CMakeFiles\CMakeTmp\cmTryCompileExec3374662057.vcxproj]



      0 Warning(s)
      1 Error(s)



  Time Elapsed 00:00:02.94





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:14 (PROJECT)


-- Configuring incomplete, errors occurred!

E:\Other\tmp\libgit2\build>


----------------------------------------

E:\Other\tmp\libgit2\build>setenv /x86
E:\Other\tmp\libgit2\build>set
ALLUSERSPROFILE=C:\ProgramData
ANT_HOME=C:\Program Files (x86)\WinAnt
APPDATA=C:\Users\jv\AppData\Roaming
APPVER=6.1
CL=/AI C:\Windows\Microsoft.NET\Framework64\v4.0.30319
CommandPromptType=Cross
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WIN7
ComSpec=C:\Windows\system32\cmd.exe
Configuration=Debug
CURRENT_CPU=x64
CVS_RSH=plink
FP_NO_HOST_CHECK=NO
FrameworkVersion=v4.0.30319
HOMEDRIVE=C:
HOMEPATH=\Users\jv
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Progra
m Files\Microsoft SDKs\Windows\v7.1\INCLUDE;C:\Program Files\Microsoft SDKs\Wind
ows\v7.1\INCLUDE\gl;
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34\jre
LIB=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib;C:\Program Files\
Microsoft SDKs\Windows\v7.1\Lib;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:
\Windows\Microsoft.NET\Framework\v3.5;;
LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\F
ramework\v3.5;;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib;
LOCALAPPDATA=C:\Users\jv\AppData\Local
LOGONSERVER=\\WIN7
NUMBER_OF_PROCESSORS=1
ORIGINALPATH=C:\Program Files (x86)\CollabNet\Subversion Client;C:\Windows\syste
m32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1
.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x8
6)\Git\cmd;c:\Ruby187\bin;C:\Program Files (x86)\CollabNet\Subversion Client;C:\
Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Windows
PowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Prog
ram Files (x86)\Git\cmd;c:\Program Files (x86)\UnxUtils\usr\local\wbin\;c:\Borla
nd\BCC55\Bin\;c:\Borland\TASM\BIN\;C:\Program Files (x86)\CVS Suite\CVSNT Tools\
;C:\Program Files (x86)\WinAnt\bin;C:\Program Files\Java\jdk1.6.0_34\bin;C:\Mave
n 3.0.4\apache-maven-3.0.4\bin;c:\Ruby187\bin
OS=Windows_NT
Path=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Fram
ework\v3.5;;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\P
rogram Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;;C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\Bin;C:\Program Files (x86)\Microsoft Visua
l Studio 10.0\VC\Bin\VCPackages;;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bi
n\NETFX 4.0 Tools;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin;;C:\Program F
iles (x86)\CollabNet\Subversion Client;C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Micr
osoft Windows Performance Toolkit\;C:\Program Files (x86)\Git\cmd;c:\Ruby187\bin
;C:\Program Files (x86)\CollabNet\Subversion Client;C:\Windows\system32;C:\Windo
ws;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Progr
am Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Git\cmd;c
:\Program Files (x86)\UnxUtils\usr\local\wbin\;c:\Borland\BCC55\Bin\;c:\Borland\
TASM\BIN\;C:\Program Files (x86)\CVS Suite\CVSNT Tools\;C:\Program Files (x86)\W
inAnt\bin;C:\Program Files\Java\jdk1.6.0_34\bin;C:\Maven 3.0.4\apache-maven-3.0.
4\bin;c:\Ruby187\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PlatformToolset=Windows7.1SDK
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
sdkdir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TARGET_CPU=x86
TARGET_PLATFORM=WIN7
TEMP=C:\Users\jv\AppData\Local\Temp
TMP=C:\Users\jv\AppData\Local\Temp
ToolsVersion=4.0
USERDOMAIN=win7
USERNAME=jv
USERPROFILE=C:\Users\jv
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools
\
windir=C:\Windows
WindowsSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
WindowsSDKVersionOverride=v7.1

E:\Other\tmp\libgit2\build>
E:\Other\tmp\libgit2\build>"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -G "
Visual Studio 10" -DBUILD_CLAR=off ..
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: E:/Other/tmp/libgit2/build

E:\Other\tmp\libgit2\build> ; now it compiles fine