Commit 10a89eaf authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #541 from zaafar/master

updated cmake system to include lua and new networking example
parents 0cd58f5f b0f8e00c
...@@ -3,3 +3,4 @@ install(PROGRAMS ${EXAMPLE_PROGRAMS} DESTINATION share/bcc/examples) ...@@ -3,3 +3,4 @@ install(PROGRAMS ${EXAMPLE_PROGRAMS} DESTINATION share/bcc/examples)
add_subdirectory(networking) add_subdirectory(networking)
add_subdirectory(tracing) add_subdirectory(tracing)
add_subdirectory(lua)
\ No newline at end of file
file(GLOB C_FILES *.c)
file(GLOB LUA_FILES *.lua)
install(FILES ${C_FILES} DESTINATION share/bcc/examples/lua)
install(PROGRAMS ${LUA_FILES} DESTINATION share/bcc/examples/lua)
\ No newline at end of file
...@@ -6,3 +6,5 @@ install(PROGRAMS ${EXAMPLE_PROGRAMS} DESTINATION share/bcc/examples/networking) ...@@ -6,3 +6,5 @@ install(PROGRAMS ${EXAMPLE_PROGRAMS} DESTINATION share/bcc/examples/networking)
add_subdirectory(distributed_bridge) add_subdirectory(distributed_bridge)
add_subdirectory(neighbor_sharing) add_subdirectory(neighbor_sharing)
add_subdirectory(vlan_learning) add_subdirectory(vlan_learning)
add_subdirectory(tunnel_monitor)
add_subdirectory(http_filter)
\ No newline at end of file
set(FILES http-parse-complete.c http-parse-simple.c README.md)
set(PROGRAMS http-parse-complete.py http-parse-simple.py)
install(FILES ${FILES} DESTINATION share/bcc/examples/networking/http_filter)
install(PROGRAMS ${PROGRAMS} DESTINATION share/bcc/examples/networking/http_filter)
set(FILES README.md chord.png monitor.c simulation.py vxlan.jpg)
set(PROGRAMS main.py monitor.py setup.sh traffic.sh)
install(FILES ${FILES} DESTINATION share/bcc/examples/networking/tunnel_monitor)
install(PROGRAMS ${PROGRAMS} DESTINATION share/bcc/examples/networking/tunnel_monitor)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment