diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-12-03 21:23:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-12-03 21:23:24 (GMT) |
commit | c9712b17ebfd4899d06cafadcb14765ca152bf0d (patch) | |
tree | 3dfcef722b331039ad1d31cef126e81c978a73ee /test | |
parent | f1660b32279ae76101040b349272732ca7307eb2 (diff) | |
download | hdf5-c9712b17ebfd4899d06cafadcb14765ca152bf0d.zip hdf5-c9712b17ebfd4899d06cafadcb14765ca152bf0d.tar.gz hdf5-c9712b17ebfd4899d06cafadcb14765ca152bf0d.tar.bz2 |
[svn-r28510] Remove debugging if NOT WIN32 around file copy. Technique should work on windows.
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeTests.cmake | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake index 1cd758b..fc8fdc3 100644 --- a/test/CMakeTests.cmake +++ b/test/CMakeTests.cmake @@ -43,22 +43,20 @@ set (HDF5_TEST_FILES tnullspace.h5 ) -if (NOT WIN32) +add_custom_command ( + TARGET accum_swmr_reader + POST_BUILD + COMMAND ${CMAKE_COMMAND} + ARGS -E copy_if_different "$<TARGET_FILE:accum_swmr_reader>" "${PROJECT_BINARY_DIR}/H5TEST/accum_swmr_reader" +) +if (BUILD_SHARED_LIBS) add_custom_command ( TARGET accum_swmr_reader POST_BUILD COMMAND ${CMAKE_COMMAND} - ARGS -E copy_if_different "$<TARGET_FILE:accum_swmr_reader>" "${PROJECT_BINARY_DIR}/H5TEST/accum_swmr_reader" + ARGS -E copy_if_different "$<TARGET_FILE:accum_swmr_reader>" "${PROJECT_BINARY_DIR}/H5TEST-shared/accum_swmr_reader" ) - if (BUILD_SHARED_LIBS) - add_custom_command ( - TARGET accum_swmr_reader - POST_BUILD - COMMAND ${CMAKE_COMMAND} - ARGS -E copy_if_different "$<TARGET_FILE:accum_swmr_reader>" "${PROJECT_BINARY_DIR}/H5TEST-shared/accum_swmr_reader" - ) - endif (BUILD_SHARED_LIBS) -endif (NOT WIN32) +endif (BUILD_SHARED_LIBS) foreach (h5_tfile ${HDF5_TEST_FILES}) set (dest "${PROJECT_BINARY_DIR}/H5TEST/${h5_tfile}") |