Includes:
- refactor build_lib and build_lib_example macros
- unify src and contrib macros
- replace macro with function not to leak definitions
- parse list of arguments
- different cmake-format file for modules to list one item per line
18 lines
323 B
CMake
18 lines
323 B
CMake
build_example(
|
|
NAME udp-client-server
|
|
SOURCE_FILES udp-client-server.cc
|
|
LIBRARIES_TO_LINK
|
|
${libcsma}
|
|
${libinternet}
|
|
${libapplications}
|
|
)
|
|
|
|
build_example(
|
|
NAME udp-trace-client-server
|
|
SOURCE_FILES udp-trace-client-server.cc
|
|
LIBRARIES_TO_LINK
|
|
${libcsma}
|
|
${libinternet}
|
|
${libapplications}
|
|
)
|