summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorPetr Polezhaev <petr.polezhaev@larian.com>2019-12-12 10:50:52 (GMT)
committerPetr Polezhaev <petr.polezhaev@larian.com>2019-12-16 12:00:44 (GMT)
commit7bcef355bfa25e8d9d2dbc015b04831a7cf8c5a9 (patch)
treed10ee4fcb11f59d5e8a972e95949522d16e2f8f5 /Tests/RunCMake/VS10Project/RunCMakeTest.cmake
parentb289544810e4417cff3e46228e3471457b0be0e4 (diff)
downloadCMake-7bcef355bfa25e8d9d2dbc015b04831a7cf8c5a9.zip
CMake-7bcef355bfa25e8d9d2dbc015b04831a7cf8c5a9.tar.gz
CMake-7bcef355bfa25e8d9d2dbc015b04831a7cf8c5a9.tar.bz2
Vs: Add test for VS_WINRT_BY_DEFAULT
Diffstat (limited to 'Tests/RunCMake/VS10Project/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/VS10Project/RunCMakeTest.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/RunCMakeTest.cmake b/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
index 1487161..5cbe333 100644
--- a/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
+++ b/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
@@ -1,3 +1,5 @@
+cmake_policy(SET CMP0057 NEW)
+
include(RunCMake)
cmake_policy(SET CMP0054 NEW)
@@ -29,6 +31,8 @@ run_cmake(VsDpiAwareBadParam)
run_cmake(VsPrecompileHeaders)
run_cmake(VsPrecompileHeadersReuseFromCompilePDBName)
+run_cmake(VsWinRTByDefault)
+
set(RunCMake_GENERATOR_TOOLSET "VCTargetsPath=$(VCTargetsPath)")
run_cmake(VsVCTargetsPath)
unset(RunCMake_GENERATOR_TOOLSET)