Update README and add contrib dir
This commit is contained in:
22
contrib/ethernet/examples/CMakeLists.txt
Normal file
22
contrib/ethernet/examples/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
set(base_examples
|
||||
ethernet-point2point
|
||||
ethernet-point2point-withPropagationDelay
|
||||
ethernet-point2point-withSmallFifo
|
||||
ethernet-switched
|
||||
ethernet-switched-withLatencyCallback
|
||||
ethernet-switched-withPcap
|
||||
ethernet-switched-withRxTxCallback
|
||||
)
|
||||
foreach(
|
||||
example
|
||||
${base_examples}
|
||||
)
|
||||
build_lib_example(
|
||||
NAME ${example}
|
||||
SOURCE_FILES ${example}.cc
|
||||
LIBRARIES_TO_LINK ${libcore}
|
||||
${libnetwork}
|
||||
${libethernet}
|
||||
${libtraffic-generator}
|
||||
)
|
||||
endforeach()
|
||||
Reference in New Issue
Block a user