File: CMakeLists.txt

package info (click to toggle)
libdivsufsort 2.0.1-2~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,596 kB
  • sloc: sh: 10,131; ansic: 2,601; makefile: 31
file content (11 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (8)
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)