CMakeLists.txt 697 B

123456789101112131415161718192021222324252627282930
  1. add_executable(badvpn-client
  2. client.c
  3. StreamPeerIO.c
  4. DatagramPeerIO.c
  5. PasswordListener.c
  6. DataProto.c
  7. FrameDecider.c
  8. DPRelay.c
  9. DPReceive.c
  10. FragmentProtoDisassembler.c
  11. FragmentProtoAssembler.c
  12. SPProtoEncoder.c
  13. SPProtoDecoder.c
  14. DataProtoKeepaliveSource.c
  15. PeerChat.c
  16. SCOutmsgEncoder.c
  17. SimpleStreamBuffer.c
  18. SinglePacketSource.c
  19. )
  20. target_link_libraries(badvpn-client system flow flowextra tuntap server_conection security threadwork ${NSPR_LIBRARIES} ${NSS_LIBRARIES})
  21. install(
  22. TARGETS badvpn-client
  23. RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
  24. )
  25. install(
  26. FILES badvpn-client.8
  27. DESTINATION ${CMAKE_INSTALL_MANDIR}/man8
  28. )