diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-09-02 20:57:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-09-02 20:57:41 (GMT) |
commit | 6717501b5c056dcb0a2e310698d582165d7332df (patch) | |
tree | 6011f82c6f79033872334e3b72fa69bb3255a5a0 /c++ | |
parent | f65eec188f1c8aa5512a2529a994d44fd7d2b6b7 (diff) | |
download | hdf5-6717501b5c056dcb0a2e310698d582165d7332df.zip hdf5-6717501b5c056dcb0a2e310698d582165d7332df.tar.gz hdf5-6717501b5c056dcb0a2e310698d582165d7332df.tar.bz2 |
[svn-r19341] Added cmake tests for c++ examples
Tetsed: local linux
Diffstat (limited to 'c++')
-rw-r--r-- | c++/examples/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/examples/CMakeLists.txt b/c++/examples/CMakeLists.txt index 75644a8..c5024f5 100644 --- a/c++/examples/CMakeLists.txt +++ b/c++/examples/CMakeLists.txt @@ -34,4 +34,7 @@ FOREACH (example ${examples}) ENDIF (MSVC) ENDIF (WIN32) TARGET_LINK_LIBRARIES (cpp_ex_${example} ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET}) + + ADD_TEST (NAME cpp_ex_${example} COMMAND $<TARGET_FILE:cpp_ex_${example}>) + ENDFOREACH (example ${examples}) |