1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
sdrangel/qrtplib/CMakeLists.txt

102 lines
2.0 KiB
CMake
Raw Normal View History

2018-02-26 19:35:16 -05:00
project(qrtplib)
2018-11-24 15:21:04 -05:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
2018-02-26 19:35:16 -05:00
set (qrtplib_HEADERS
../apple/apple_compat.h
2018-03-05 10:40:53 -05:00
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
)
2018-02-26 19:35:16 -05:00
set(qrtplib_SOURCES
../apple/apple_compat.c
2018-03-05 10:40:53 -05:00
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
)
2018-02-26 19:35:16 -05:00
include_directories(
.
${CMAKE_SOURCE_DIR}/exports
2018-02-26 19:35:16 -05:00
${CMAKE_CURRENT_BINARY_DIR}
)
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_SHARED)
add_library(qrtplib SHARED
${qrtplib_SOURCES}
${qrtplib_HEADERS_MOC}
)
2018-12-01 21:06:04 -05:00
set_target_properties(qrtplib PROPERTIES DEFINE_SYMBOL "qrtplib_EXPORTS")
2018-02-26 19:35:16 -05:00
target_link_libraries(qrtplib
${QT_LIBRARIES}
)
target_link_libraries(qrtplib Qt5::Core Qt5::Network)
2018-02-26 19:35:16 -05:00
install(TARGETS qrtplib DESTINATION lib)