summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-21 19:12:48 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-21 19:12:48 (GMT)
commitf292ffb62cf2251c1239f4750487efeb52daf1d7 (patch)
treec2a3459e7d1eb9736cdb0c68e5051c180beddf31 /Tests/CMakeLists.txt
parent1a2a0daddad3b1e460e5bc9e6f6795524f7c573b (diff)
parent79ec7868d0f08c9ff2e6fa6454b205132acecc24 (diff)
downloadCMake-f292ffb62cf2251c1239f4750487efeb52daf1d7.zip
CMake-f292ffb62cf2251c1239f4750487efeb52daf1d7.tar.gz
CMake-f292ffb62cf2251c1239f4750487efeb52daf1d7.tar.bz2
Merge topic 'vs-windows-forms'
79ec786 VS: Add Windows Forms Support
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 332d02d..0b221e8 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1462,6 +1462,11 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
ADD_TEST_MACRO(SBCS SBCS)
endif()
+ if(NOT "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio [6789]( |$)"
+ AND NOT CMAKE_TEST_GENERATOR_TOOLSET)
+ ADD_TEST_MACRO(VSWindowsFormsResx VSWindowsFormsResx)
+ endif()
+
add_test(VSExternalInclude ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/VSExternalInclude"