cnorxz/src/opt/hdf5/tests/CMakeLists.txt
Christian Zimmermann eb3055ddca
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
hdf5: several fixes + yrange: add setSub member function + dindex: add missing operator*(dindex,index)
2024-02-01 18:22:08 +01:00

7 lines
391 B
CMake

add_definitions(-DTEST_NUMBER_FILE="${CMAKE_SOURCE_DIR}/src/tests/numbers.txt")
include_directories(${CMAKE_SOURCE_DIR}/src/tests)
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)
add_test(NAME h5basic COMMAND h5basic)