mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-28 10:51:14 +00:00
24 lines
665 B
Text
24 lines
665 B
Text
|
|
||
|
cmake_minimum_required(VERSION 3.4.1)
|
||
|
|
||
|
add_library( netguard
|
||
|
SHARED
|
||
|
src/main/jni/netguard/netguard.c
|
||
|
src/main/jni/netguard/session.c
|
||
|
src/main/jni/netguard/ip.c
|
||
|
src/main/jni/netguard/tcp.c
|
||
|
src/main/jni/netguard/udp.c
|
||
|
src/main/jni/netguard/icmp.c
|
||
|
src/main/jni/netguard/dns.c
|
||
|
src/main/jni/netguard/dhcp.c
|
||
|
src/main/jni/netguard/pcap.c
|
||
|
src/main/jni/netguard/util.c )
|
||
|
|
||
|
include_directories( src/main/jni/netguard/ )
|
||
|
|
||
|
find_library( log-lib
|
||
|
log )
|
||
|
|
||
|
target_link_libraries( netguard
|
||
|
${log-lib} )
|