cnorxz/src/opt/hdf5/tests/CMakeLists.txt

8 lines
391 B
Text
Raw Normal View History

2023-01-13 15:42:15 +01:00
add_definitions(-DTEST_NUMBER_FILE="${CMAKE_SOURCE_DIR}/src/tests/numbers.txt")
include_directories(${CMAKE_SOURCE_DIR}/src/tests)
2023-01-13 15:42:15 +01:00
add_executable(h5basic h5_basic_unit_test.cc)
add_dependencies(h5basic cnorxz cnorxzhdf5 test_lib)
target_link_libraries(h5basic ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${HDF5_LIBS} cnorxz cnorxzhdf5 test_lib)
2023-01-15 01:26:01 +01:00
add_test(NAME h5basic COMMAND h5basic)