|
@ -81,6 +81,12 @@ target_link_libraries(edge n2n) |
|
|
add_executable(supernode sn.c) |
|
|
add_executable(supernode sn.c) |
|
|
target_link_libraries(supernode n2n) |
|
|
target_link_libraries(supernode n2n) |
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS edge supernode |
|
|
|
|
|
RUNTIME DESTINATION sbin |
|
|
|
|
|
LIBRARY DESTINATION lib |
|
|
|
|
|
ARCHIVE DESTINATION lib |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
# Tools |
|
|
# Tools |
|
|
include_directories(.) |
|
|
include_directories(.) |
|
|
|
|
|
|
|
@ -91,13 +97,10 @@ find_library(PCAP_LIB pcap) |
|
|
if(PCAP_LIB) |
|
|
if(PCAP_LIB) |
|
|
add_executable(n2n-decode tools/n2n_decode.c) |
|
|
add_executable(n2n-decode tools/n2n_decode.c) |
|
|
target_link_libraries(n2n-decode n2n pcap) |
|
|
target_link_libraries(n2n-decode n2n pcap) |
|
|
|
|
|
install(TARGETS n2n-decode RUNTIME DESTINATION bin) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
install(TARGETS edge supernode |
|
|
install(TARGETS n2n-benchmark RUNTIME DESTINATION bin) |
|
|
RUNTIME DESTINATION sbin |
|
|
|
|
|
LIBRARY DESTINATION lib |
|
|
|
|
|
ARCHIVE DESTINATION lib |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# Documentation |
|
|
# Documentation |
|
|
if(DEFINED UNIX) |
|
|
if(DEFINED UNIX) |
|
|