CMakeLists.txt 355 B

123456789101112131415161718192021
  1. SET(LIB_SOURCES
  2. blacklist.c
  3. constraint.c
  4. logger.c
  5. pbm.c
  6. random.c
  7. rijndael-alg-fst.c
  8. xalloc.c
  9. lockfd.c
  10. util.c
  11. queue.c
  12. csv.c
  13. )
  14. if (WITH_REDIS)
  15. SET(LIB_SOURCES ${LIB_SOURCES} redis.c)
  16. endif()
  17. add_library(zmaplib STATIC ${LIB_SOURCES})
  18. target_include_directories (zmaplib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})