Making magic with the network stack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
665 B

  1. cmake_minimum_required(VERSION 3.4.1)
  2. add_library( netguard
  3. SHARED
  4. src/main/jni/netguard/netguard.c
  5. src/main/jni/netguard/session.c
  6. src/main/jni/netguard/ip.c
  7. src/main/jni/netguard/tcp.c
  8. src/main/jni/netguard/udp.c
  9. src/main/jni/netguard/icmp.c
  10. src/main/jni/netguard/dns.c
  11. src/main/jni/netguard/dhcp.c
  12. src/main/jni/netguard/pcap.c
  13. src/main/jni/netguard/util.c )
  14. include_directories( src/main/jni/netguard/ )
  15. find_library( log-lib
  16. log )
  17. target_link_libraries( netguard
  18. ${log-lib} )