CMakeLists.txt 476 Bytes
Newer Older
1
2
3
4
5
6
option (DEBUG "Enable debug output.")

if (DEBUG)
    add_definitions(-DDEBUG)
endif()

Andreas Schmidt's avatar
Andreas Schmidt committed
7
8
9
10
11
12
13
option(XLAP "Run XLAP to trace packets." OFF)

if (XLAP)
    add_definitions(-DXLAP)
endif()


14
add_subdirectory(proto)
15
16
17
add_subdirectory(util)

add_executable(sender sender.c)
Andreas Schmidt's avatar
Andreas Schmidt committed
18
add_executable(receiver receiver.c ../tests/common.h)
19
20

target_link_libraries(sender LINK_PUBLIC PRRT UTIL ${CMAKE_THREAD_LIBS_INIT})
21
target_link_libraries(receiver LINK_PUBLIC PRRT UTIL ${CMAKE_THREAD_LIBS_INIT})