23 lines
474 B
CMake
23 lines
474 B
CMake
|
|
set(base_examples
|
||
|
|
evb-lan9668-sp
|
||
|
|
evb-lan9668-cbs
|
||
|
|
evb-lan9668-tas
|
||
|
|
evb-lan9668-psfp
|
||
|
|
evb-lan9668-frer
|
||
|
|
)
|
||
|
|
foreach(
|
||
|
|
example
|
||
|
|
${base_examples}
|
||
|
|
)
|
||
|
|
build_lib_example(
|
||
|
|
NAME ${example}
|
||
|
|
SOURCE_FILES ${example}.cc
|
||
|
|
LIBRARIES_TO_LINK ${libtsn}
|
||
|
|
${libcore}
|
||
|
|
${libnetwork}
|
||
|
|
${libtraffic-generator}
|
||
|
|
${libethernet}
|
||
|
|
${libreal-device}
|
||
|
|
)
|
||
|
|
endforeach()
|