Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CMakeLists.txt 592B

123456789101112131415161718192021222324252627282930
  1. include_directories(${CMAKE_SOURCE_DIR}/common ${ZLIB_INCLUDE_DIRS})
  2. add_library(rdr STATIC
  3. BufferedInStream.cxx
  4. BufferedOutStream.cxx
  5. Exception.cxx
  6. FdInStream.cxx
  7. FdOutStream.cxx
  8. FileInStream.cxx
  9. HexInStream.cxx
  10. HexOutStream.cxx
  11. RandomStream.cxx
  12. TLSException.cxx
  13. TLSInStream.cxx
  14. TLSOutStream.cxx
  15. ZlibInStream.cxx
  16. ZlibOutStream.cxx)
  17. target_link_libraries(rdr ${ZLIB_LIBRARIES} os)
  18. if(GNUTLS_FOUND)
  19. target_link_libraries(rdr ${GNUTLS_LIBRARIES})
  20. endif()
  21. if(WIN32)
  22. target_link_libraries(rdr ws2_32)
  23. endif()
  24. if(UNIX)
  25. libtool_create_control_file(rdr)
  26. endif()