CMakeLists.txt 956 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. add_library(sshcommon OBJECT
  2. bpp1.c
  3. bpp2.c
  4. bpp-bare.c
  5. ca-config.c
  6. censor1.c
  7. censor2.c
  8. common.c
  9. connection1.c
  10. connection2.c
  11. crc-attack-detector.c
  12. gssc.c
  13. login1.c
  14. pgssapi.c
  15. portfwd.c
  16. ../sshpubk.c
  17. ../sshrand.c
  18. transient-hostkey-cache.c
  19. transport2.c
  20. verstring.c
  21. x11fwd.c
  22. zlib.c)
  23. add_library(sftpcommon OBJECT sftpcommon.c)
  24. add_library(sshclient STATIC
  25. agentf.c
  26. connection1-client.c
  27. connection2-client.c
  28. kex2-client.c
  29. mainchan.c
  30. sharing.c
  31. ssh.c
  32. userauth2-client.c
  33. $<TARGET_OBJECTS:sshcommon>
  34. $<TARGET_OBJECTS:all-backends>
  35. $<TARGET_OBJECTS:logging>)
  36. add_library(sshserver STATIC
  37. connection1-server.c
  38. connection2-server.c
  39. kex2-server.c
  40. login1-server.c
  41. server.c
  42. sesschan.c
  43. sftpserver.c
  44. userauth2-server.c
  45. $<TARGET_OBJECTS:sftpcommon>
  46. $<TARGET_OBJECTS:sshcommon>)
  47. add_sources_from_current_dir(sftpclient sftp.c)
  48. target_sources(sftpclient PRIVATE $<TARGET_OBJECTS:sftpcommon>)