mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 21:41:03 +00:00
Fix Module.ExternalData test on VS 6
Run the test with the ctest --build-noclean option. The test CMakeLists.txt file already uses file(REMOVE_RECURSE) to clean out downloaded data anyway. Some file removed by "msdev ... /clean" causes CMake to re-run in the middle of the build step and file(REMOVE_RECURSE) wipes out already-generated files.
This commit is contained in:
parent
aed590a7e0
commit
a6d3ffcb1f
@ -319,6 +319,7 @@ if(BUILD_TESTING)
|
||||
--build-generator ${CMAKE_TEST_GENERATOR}
|
||||
--build-project ExternalDataTest
|
||||
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
||||
--build-noclean
|
||||
--force-new-ctest-process
|
||||
--test-command ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE} -V
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user