summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-09-02 20:57:41 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-09-02 20:57:41 (GMT)
commit6717501b5c056dcb0a2e310698d582165d7332df (patch)
tree6011f82c6f79033872334e3b72fa69bb3255a5a0 /hl
parentf65eec188f1c8aa5512a2529a994d44fd7d2b6b7 (diff)
downloadhdf5-6717501b5c056dcb0a2e310698d582165d7332df.zip
hdf5-6717501b5c056dcb0a2e310698d582165d7332df.tar.gz
hdf5-6717501b5c056dcb0a2e310698d582165d7332df.tar.bz2
[svn-r19341] Added cmake tests for c++ examples
Tetsed: local linux
Diffstat (limited to 'hl')
-rw-r--r--hl/c++/examples/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/hl/c++/examples/CMakeLists.txt b/hl/c++/examples/CMakeLists.txt
index 2a06b9c..0205309 100644
--- a/hl/c++/examples/CMakeLists.txt
+++ b/hl/c++/examples/CMakeLists.txt
@@ -30,6 +30,8 @@ IF (HDF5_BUILD_EXAMPLES)
${HDF5_LIB_TARGET}
)
+ ADD_TEST (NAME cpp_hl_ex_ptExampleFL COMMAND $<TARGET_FILE:ptExampleFL>)
+
ADD_EXECUTABLE (ptExampleVL ${HDF5_HL_CPP_EXAMPLES_SOURCE_DIR}/ptExampleVL.cpp)
H5_NAMING (ptExampleVL)
IF (WIN32)
@@ -48,4 +50,7 @@ IF (HDF5_BUILD_EXAMPLES)
${HDF5_HL_LIB_TARGET}
${HDF5_LIB_TARGET}
)
+
+ ADD_TEST (NAME cpp_hl_ex_ptExampleVL COMMAND $<TARGET_FILE:ptExampleVL>)
+
ENDIF (HDF5_BUILD_EXAMPLES)