diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2016-06-17 21:18:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-22 12:34:12 (GMT) |
commit | 35a6cac2d3bf550edf5306e6270a80fc848deeb8 (patch) | |
tree | 17f4ef680e688d4017b1e179e0e967d8ef694885 /Tests | |
parent | 313e9667021a510151117d8222e958174b691261 (diff) | |
download | CMake-35a6cac2d3bf550edf5306e6270a80fc848deeb8.zip CMake-35a6cac2d3bf550edf5306e6270a80fc848deeb8.tar.gz CMake-35a6cac2d3bf550edf5306e6270a80fc848deeb8.tar.bz2 |
VS: Add VS_SDK_REFERENCES target property to reference external SDKs
Allow one to specify external SDK references such as
`Microsoft.AdMediatorWindows81, Version=1.0`.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/VSWinStorePhone/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/VSWinStorePhone/CMakeLists.txt b/Tests/VSWinStorePhone/CMakeLists.txt index ae82755..14d532a 100644 --- a/Tests/VSWinStorePhone/CMakeLists.txt +++ b/Tests/VSWinStorePhone/CMakeLists.txt @@ -134,6 +134,9 @@ if("${SHORT_VERSION}" STREQUAL "10.0") set_property(TARGET ${EXE_NAME} PROPERTY VS_DESKTOP_EXTENSIONS_VERSION "${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}") set_property(TARGET ${EXE_NAME} PROPERTY VS_MOBILE_EXTENSIONS_VERSION "${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}") set_property(TARGET ${EXE_NAME} PROPERTY VS_IOT_EXTENSIONS_VERSION "${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}") + + # Add a reference to an SDK + set_property(TARGET ${EXE_NAME} PROPERTY VS_SDK_REFERENCES "Microsoft.UniversalCRT.Debug, Version=${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}") endif() |