summaryrefslogtreecommitdiff
path: root/qrtplib/CMakeLists.txt
blob: 0c75ee075a068aeb843297b03f5eae421e752705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
project(qrtplib)

set (qrtplib_HEADERS
    rtcpapppacket.h
    rtcpbyepacket.h
    rtcpcompoundpacket.h
    rtcpcompoundpacketbuilder.h
    rtcppacket.h
    rtcppacketbuilder.h
    rtcprrpacket.h
    rtcpscheduler.h
    rtcpsdesinfo.h
    rtcpsdespacket.h
    rtcpsrpacket.h
    rtcpunknownpacket.h
    rtpaddress.h
    rtpcollisionlist.h
    rtpconfig.h
    rtpdefines.h
    rtpendian.h
    rtperrors.h
    rtpinternalsourcedata.h
    rtpkeyhashtable.h
    rtppacket.h
    rtppacketbuilder.h
    rtprandom.h
    rtprandomrand48.h
    rtprandomrands.h
    rtprandomurandom.h
    rtprawpacket.h
    rtpsession.h
    rtpsessionparams.h
    rtpsessionsources.h
    rtpsourcedata.h
    rtpsources.h
    rtpstructs.h
    rtptimeutilities.h
    rtptransmitter.h
    rtptypes_win.h
    rtptypes.h
    rtpudptransmitter.h
    rtpsocketutil.h
    )

set(qrtplib_SOURCES
    rtcpapppacket.cpp
    rtcpbyepacket.cpp
    rtcpcompoundpacket.cpp
    rtcpcompoundpacketbuilder.cpp
    rtcppacketbuilder.cpp
    rtcprrpacket.cpp
    rtcpscheduler.cpp
    rtcpsdesinfo.cpp
    rtcpsdespacket.cpp
    rtcpsrpacket.cpp
    rtpaddress.cpp
    rtpcollisionlist.cpp
    rtperrors.cpp
    rtpinternalsourcedata.cpp
    rtppacket.cpp
    rtppacketbuilder.cpp
    rtprandom.cpp
    rtprandomrand48.cpp
    rtprandomrands.cpp
    rtprandomurandom.cpp
    rtpsession.cpp
    rtpsessionparams.cpp
    rtpsessionsources.cpp
    rtpsourcedata.cpp
    rtpsources.cpp
    rtptimeutilities.cpp
    rtpudptransmitter.cpp
    )

include_directories(
    ${CMAKE_SOURCE_DIR}/exports
)

add_library(qrtplib SHARED
    ${qrtplib_SOURCES}
)

target_link_libraries(qrtplib
    Qt5::Core
    Qt5::Network
)

install(TARGETS qrtplib DESTINATION ${INSTALL_LIB_DIR})