diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-07-06 19:16:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-07-06 19:16:07 (GMT) |
commit | 046f1d7b1fd29c3caea904d3aa403fa4e9cae4b8 (patch) | |
tree | b932e36d4f7f428eed97a5e8b57137050f27ebb6 /c++/test | |
parent | 3fef275c89ef954eb44929ede39b3a3926d61292 (diff) | |
download | hdf5-046f1d7b1fd29c3caea904d3aa403fa4e9cae4b8.zip hdf5-046f1d7b1fd29c3caea904d3aa403fa4e9cae4b8.tar.gz hdf5-046f1d7b1fd29c3caea904d3aa403fa4e9cae4b8.tar.bz2 |
[svn-r22522] Merge trunk revision 22520 cmake files and h5dump/h5diff and configure to branch
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c++/test/CMakeLists.txt b/c++/test/CMakeLists.txt index fa5e2fd..7f4437c 100644 --- a/c++/test/CMakeLists.txt +++ b/c++/test/CMakeLists.txt @@ -44,6 +44,13 @@ TARGET_LINK_LIBRARIES (cpp_testhdf5 ) SET_TARGET_PROPERTIES (cpp_testhdf5 PROPERTIES FOLDER test/cpp) +ADD_CUSTOM_COMMAND ( + TARGET cpp_testhdf5 + POST_BUILD + COMMAND ${CMAKE_COMMAND} + ARGS -E copy_if_different ${HDF5_CPP_TEST_SOURCE_DIR}/th5s.h5 ${PROJECT_BINARY_DIR}/th5s.h5 +) + ADD_TEST (NAME cpp_testhdf5 COMMAND $<TARGET_FILE:cpp_testhdf5>) IF (HDF5_TEST_VFD) |