CMakeLists.txt 1.34 KB
Newer Older
1
set (PRRT_SOURCES ../defines.h
2
        bbr.c bbr.h
3 4 5
        clock.c clock.h
        receiver.c receiver.h
        socket.c socket.h
6
        timer.c timer.h
7
        processes/dataReceiver.c processes/dataReceiver.h
8
        processes/dataTransmitter.c processes/dataTransmitter.h
9
        stores/dataPacketStore.c stores/dataPacketStore.h
10 11 12
        stores/deliveredPacketTable.c stores/deliveredPacketTable.h
        stores/inFlightPacketStore.c stores/inFlightPacketStore.h
        stores/packetTimeoutTable.c stores/packetTimeoutTable.h
Andreas Schmidt's avatar
Andreas Schmidt committed
13
        stores/packetDeliveryStore.c stores/packetDeliveryStore.h
14 15
        stores/receptionTable.c stores/receptionTable.h
        stores/repairBlockStore.c stores/repairBlockStore.h
16 17 18 19
        types/applicationConstraints.c types/applicationConstraints.h
        types/block.c types/block.h
        types/codingParams.c types/codingParams.h
        types/channelStateInformation.c types/channelStateInformation.h
20 21
        types/lossStatistics.c types/lossStatistics.h
        types/packet.c types/packet.h
22 23
        types/packetTimeout.c types/packetTimeout.h
        vdmcode/block_code.c vdmcode/block_code.h types/packetTracking.c types/packetTracking.h types/rateSample.c types/rateSample.h)
24

25 26 27 28 29 30
if (XLAP)
    set(PRRT_SOURCES ${PRRT_SOURCES} ../xlap/xlap.c ../xlap/xlap.h)
endif()

add_library(PRRT ${PRRT_SOURCES})

Stefan Reif's avatar
Stefan Reif committed
31
target_link_libraries(PRRT rt)