diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-03-04 20:12:05 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-03-04 20:12:05 (GMT) |
commit | 1f10dc7f119e612f91bedbc6a9ecb65f314cc707 (patch) | |
tree | ea72688a8eab29de4c8b05b5bb39cdb837ecf6b6 /hl | |
parent | 2a714ac4c0c0a230a019616dbf80bb03ce39c18d (diff) | |
download | hdf5-1f10dc7f119e612f91bedbc6a9ecb65f314cc707.zip hdf5-1f10dc7f119e612f91bedbc6a9ecb65f314cc707.tar.gz hdf5-1f10dc7f119e612f91bedbc6a9ecb65f314cc707.tar.bz2 |
[svn-r29272] Add code to deal with two source files for test_packet test.
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/CMakeLists.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/hl/test/CMakeLists.txt b/hl/test/CMakeLists.txt index 916dcf3..bf598c4 100644 --- a/hl/test/CMakeLists.txt +++ b/hl/test/CMakeLists.txt @@ -48,9 +48,19 @@ HL_ADD_EXE (test_ds) HL_ADD_EXE (test_dset_opt) HL_ADD_EXE (test_image) HL_ADD_EXE (test_lite) -HL_ADD_EXE (test_packet) HL_ADD_EXE (test_table) +# test_packet has two source files +add_executable (hl_test_packet test_packet.c test_packet_vlen.c) +TARGET_NAMING (hl_test_packet STATIC) +TARGET_C_PROPERTIES (hl_test_packet STATIC " " " ") +target_link_libraries (hl_test_packet + ${HDF5_HL_LIB_TARGET} + ${HDF5_LIB_TARGET} + ${HDF5_TEST_LIB_TARGET} +) +set_target_properties (hl_test_packet PROPERTIES FOLDER test/hl) + # -------------------------------------------------------------------- # This executable is used to generate test files for the test_ds test. # It should only be run during development when new test files are needed |