summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-07 14:12:18 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-07 14:12:18 (GMT)
commit4e16813f63bae65dd3eeec0a326e9a4926aff1c5 (patch)
tree27eb0f6207480c3b6bccb335bcf4d1be0df2ceca /Tests
parent4224513ccee04d540e89db5cf1ca531b6ef8e0e5 (diff)
downloadCMake-4e16813f63bae65dd3eeec0a326e9a4926aff1c5.zip
CMake-4e16813f63bae65dd3eeec0a326e9a4926aff1c5.tar.gz
CMake-4e16813f63bae65dd3eeec0a326e9a4926aff1c5.tar.bz2
Put custom commands in topological order for VS 10
Visual Studio 10 uses MSBuild to drive the build. Custom commands appear in MSBuild files inside CustomBuild elements, which appear inside ItemGroup elements. The Outputs and AdditionalInputs elements of each CustomBuild element are evaluated according to timestamps on disk. MSBuild does not use inputs/outputs to order CustomBuild steps within a single ItemGroup or across multiple ItemGroup elements. Instead we must put only unrelated CustomBuild elements in a single ItemGroup and order the item groups from top to bottom using a topological order of the custom command dependency graph. This fixes CustomCommand and ExternalProject test failures, so we remove the expectation of these failures.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt9
1 files changed, 0 insertions, 9 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 6084e79..026b147 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -571,15 +571,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
IF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
SET_TESTS_PROPERTIES(ExternalProject PROPERTIES TIMEOUT 1000)
ENDIF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
- # CustomCommand and ExternalProject fail because of this bug:
- # http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=473709
- # so for this version of the compiler with the IDE expect failure
- IF("${MSVC_VERSION}" EQUAL 1600
- AND "${CMAKE_TEST_GENERATOR}"
- MATCHES "Visual Studio 10" )
- SET_TESTS_PROPERTIES(ExternalProject PROPERTIES WILL_FAIL TRUE)
- SET_TESTS_PROPERTIES(CustomCommand PROPERTIES WILL_FAIL TRUE)
- ENDIF()
# do each of the tutorial steps
FOREACH(STP RANGE 1 7)