1## Add definitions ##
2add_definitions(-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64)
3
4## Targets ##
5include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include"
6                    "${CMAKE_CURRENT_BINARY_DIR}/../include")
7link_directories("${CMAKE_CURRENT_BINARY_DIR}/../lib")
8foreach(src suftest mksary sasearch bwt unbwt)
9  add_executable(${src} ${src}.c)
10  target_link_libraries(${src} divsufsort)
11endforeach(src)
12