Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

CMakeLists.txt 614B

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