Files
unison/src/dsr/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

37 lines
949 B
CMake

build_lib(
LIBNAME dsr
SOURCE_FILES
helper/dsr-helper.cc
helper/dsr-main-helper.cc
model/dsr-errorbuff.cc
model/dsr-fs-header.cc
model/dsr-gratuitous-reply-table.cc
model/dsr-maintain-buff.cc
model/dsr-network-queue.cc
model/dsr-option-header.cc
model/dsr-options.cc
model/dsr-passive-buff.cc
model/dsr-rcache.cc
model/dsr-routing.cc
model/dsr-rreq-table.cc
model/dsr-rsendbuff.cc
HEADER_FILES
helper/dsr-helper.h
helper/dsr-main-helper.h
model/dsr-errorbuff.h
model/dsr-fs-header.h
model/dsr-gratuitous-reply-table.h
model/dsr-maintain-buff.h
model/dsr-network-queue.h
model/dsr-option-header.h
model/dsr-options.h
model/dsr-passive-buff.h
model/dsr-rcache.h
model/dsr-routing.h
model/dsr-rreq-table.h
model/dsr-rsendbuff.h
LIBRARIES_TO_LINK ${libinternet}
${libwifi}
TEST_SOURCES test/dsr-test-suite.cc
)