aboutsummaryrefslogtreecommitdiffstats
path: root/examples/CMakeLists.txt
blob: e801c81a4ea9854a1f2e1fdcdd0312f747d33b3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
## Add definitions ##
add_definitions(-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64)

## Targets ##
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include"
                    "${CMAKE_CURRENT_BINARY_DIR}/../include")
link_directories("${CMAKE_CURRENT_BINARY_DIR}/../lib")
foreach(src suftest mksary sasearch bwt unbwt)
  add_executable(${src} ${src}.c)
  target_link_libraries(${src} divsufsort)
endforeach(src)