[cmake-developers] Patch: Add the ability to specify SDK_REFERENCES for Visual Studio

Gilles Khouzam gilles.khouzam at microsoft.com
Tue Jun 21 21:25:08 EDT 2016


I've changed it to the Debug Universal C-Runtime which should be included with the SDK.

This also leverages the version of the SDK to match the other extensions reducing the risk of failures.

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Tuesday, June 21, 2016 07:32
To: Gilles Khouzam <gilles.khouzam at microsoft.com>
Cc: cmake-developers at cmake.org
Subject: Re: Patch: Add the ability to specify SDK_REFERENCES for Visual Studio

On 06/20/2016 10:48 AM, Brad King wrote:
>  VS: Add VS_SDK_REFERENCES target property to reference external SDKs  
> https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ccc6270d

This caused the VSWinStorePhone tests to fail, e.g.:

 https://open.cdash.org/testDetails.php?test=457508384&build=4422066
 (ResolveSDKReferences target) ->
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2049,5): error MSB3774: Could not find SDK "Microsoft.NET.Native.Runtime.1.1, Version=1.1".

The problem is that the hard-coded VS_SDK_REFERENCES value in the test names a SDK that does not exist on the test machine.  Some other approach will be needed to know what SDK can be referenced by the test.

Thanks,
-Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FixVS_SDK_REFERENCES.PATCH
Type: application/octet-stream
Size: 1116 bytes
Desc: 0001-FixVS_SDK_REFERENCES.PATCH
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160622/a23683cc/attachment.obj>


More information about the cmake-developers mailing list