diff options
author | Thomas White <taw@physics.org> | 2020-07-01 11:02:08 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:44 +0200 |
commit | 9ff36c70a7a27fb6fd86068483a47d9efb606245 (patch) | |
tree | 610b207d1f5e7f5a7486d821911a29cef87022bf /tests/CMakeLists.txt | |
parent | a7f04b7da219da2efddaaec826eafa286975aa3d (diff) |
Handle event expansion even for single-event files
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 46c71a9e..b33e08db 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -150,3 +150,10 @@ target_link_libraries(ev_enum2 ${COMMON_LIBRARIES} -lhdf5) add_test(NAME ev_enum2 COMMAND ev_enum2 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum2.h5 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum2.geom) + +add_executable(ev_enum3 ev_enum3.c) +target_include_directories(ev_enum3 PRIVATE ${COMMON_INCLUDES}) +target_link_libraries(ev_enum3 ${COMMON_LIBRARIES} -lhdf5) +add_test(NAME ev_enum3 + COMMAND ev_enum3 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum3.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum3.geom) |