Files

23 lines
545 B
CMake
Raw Permalink Normal View History

2025-12-01 15:56:02 +01:00
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()