37 lines
968 B
CMake
37 lines
968 B
CMake
set(base_examples
|
|
tsn-point2point
|
|
tsn-point2point-withCBS
|
|
tsn-point2point-withTAS
|
|
tsn-point2point-withTAS-CBS
|
|
tsn-point2point-withTAS-gPTP
|
|
tsn-point2point-withTAS-GuardBand
|
|
tsn-point2point-withPSFP-MaxSDUSizeFilter
|
|
tsn-point2point-withPSFP-FlowMeter
|
|
tsn-switched-withFRER
|
|
tsn-switched-withFRER-recoveryAlgo
|
|
tsn-switched-withFRER-activeSid
|
|
tsn-point2point-withGPTP
|
|
tsn-point2point-withGPTP-Multidomain
|
|
tsn-point2point-withGPTP-fixPrecisionClock
|
|
tsn-switched-withGPTP
|
|
tsn-multidrop
|
|
tsn-multidrop-withCBS
|
|
tsn-multidrop-withTAS
|
|
tsn-multidrop-withTAS-CBS
|
|
tsn-switched-multidrop
|
|
)
|
|
foreach(
|
|
example
|
|
${base_examples}
|
|
)
|
|
build_lib_example(
|
|
NAME ${example}
|
|
SOURCE_FILES ${example}.cc
|
|
LIBRARIES_TO_LINK ${libtsn}
|
|
${libcore}
|
|
${libnetwork}
|
|
${libtraffic-generator}
|
|
${libethernet}
|
|
)
|
|
endforeach()
|