Files
unison/examples/socket/CMakeLists.txt
Gabriel Ferreira 41aacec626 build: CMake refactoring
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
2022-01-28 10:20:18 -03:00

41 lines
782 B
CMake

build_example(
NAME socket-bound-static-routing
SOURCE_FILES socket-bound-static-routing.cc
LIBRARIES_TO_LINK
${libnetwork}
${libcsma}
${libpoint-to-point}
${libinternet}
)
build_example(
NAME socket-bound-tcp-static-routing
SOURCE_FILES socket-bound-tcp-static-routing.cc
LIBRARIES_TO_LINK
${libnetwork}
${libcsma}
${libpoint-to-point}
${libinternet}
${libapplications}
)
build_example(
NAME socket-options-ipv4
SOURCE_FILES socket-options-ipv4.cc
LIBRARIES_TO_LINK
${libnetwork}
${libcsma}
${libpoint-to-point}
${libinternet}
)
build_example(
NAME socket-options-ipv6
SOURCE_FILES socket-options-ipv6.cc
LIBRARIES_TO_LINK
${libnetwork}
${libcsma}
${libpoint-to-point}
${libinternet}
)