2
0

CMakeLists.txt 691 B

123456789101112131415161718192021222324252627282930313233343536
  1. cmake_minimum_required(VERSION 2.6)
  2. INCLUDE_DIRECTORIES(include/)
  3. add_definitions(-DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK)
  4. INCLUDE_DIRECTORIES(BEFORE ${CMAKE_SOURCE_DIR}/libs/apr-util/include ${CMAKE_SOURCE_DIR}/libs/apr-util/include/private ${CMAKE_SOURCE_DIR}/libs/apr/include)
  5. SET (apr-util_SRCS
  6. crypto/apr_md5.c
  7. crypto/uuid.c
  8. crypto/apr_sha1.c
  9. crypto/getuuid.c
  10. crypto/apr_md4.c
  11. encoding/apr_base64.c
  12. hooks/apr_hooks.c
  13. misc/apr_reslist.c
  14. misc/apr_rmm.c
  15. misc/apr_date.c
  16. misc/apu_version.c
  17. misc/apr_queue.c
  18. uri/apr_uri.c
  19. strmatch/apr_strmatch.c
  20. xlate/xlate.c
  21. )
  22. LINK_LIBRARIES ("-liconv -ldl -lpthread")
  23. ADD_LIBRARY(apr-util STATIC ${apr-util_SRCS})