Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,18 @@ if(GDAL_FOUND AND TT_SNAPSHOT_DIR)
add_test(NAME dinf COMMAND dinf ${TT_SNAPSHOT_DIR})
set_tests_properties(dinf PROPERTIES ENVIRONMENT_MODIFICATION
"PATH=path_list_prepend:$<$<BOOL:${WIN32}>:$<TARGET_FILE_DIR:topotoolbox>>")

# TEST : d8
#
add_executable(d8 d8.c utils.c grid.c flow.c)
if(TT_SANITIZE AND NOT MSVC)
target_compile_options(d8 PRIVATE "$<$<CONFIG:DEBUG>:-fsanitize=address>")
target_link_options(d8 PRIVATE "$<$<CONFIG:DEBUG>:-fsanitize=address>")
endif()
target_link_libraries(d8 PRIVATE topotoolbox GDAL::GDAL)
add_test(NAME d8 COMMAND dinf ${TT_SNAPSHOT_DIR})
set_tests_properties(d8 PROPERTIES ENVIRONMENT_MODIFICATION
"PATH=path_list_prepend:$<$<BOOL:${WIN32}>:$<TARGET_FILE_DIR:topotoolbox>>")
endif()


Expand Down
Loading
Loading