Commit c2c31ae8 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'test-ExternalProject-CONFIGURE_HANDLED_BY_BUILD' into release-3.20

74fe16a2

 Tests: Fix ExternalProject CONFIGURE_HANDLED_BY_BUILD on 1s filesystems
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5838
parents 65b70406 74fe16a2
Pipeline #215662 waiting for manual action with stages
in 5 minutes and 35 seconds
......@@ -11,7 +11,7 @@ ExternalProject_Add(proj1
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E echo "Doing something"
# file(TIMESTAMP) gives back the timestamp in seconds so we sleep a second to
# make sure we get a different timestamp on the stamp file
BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1
BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1.125
INSTALL_COMMAND ""
BUILD_ALWAYS ON
STAMP_DIR "stamp"
......@@ -20,7 +20,7 @@ ExternalProject_Add(proj2
DOWNLOAD_COMMAND ""
SOURCE_DIR ""
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E echo "Doing something"
BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1
BUILD_COMMAND ${CMAKE_COMMAND} -E sleep 1.125
INSTALL_COMMAND ""
CONFIGURE_HANDLED_BY_BUILD ON
DEPENDS proj1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment