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