2023-01-13 15:42:15 +01:00
|
|
|
|
2024-02-01 18:22:08 +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)
|
2024-02-01 18:22:08 +01:00
|
|
|
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)
|