This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
CMakeLists.avb_streamhandler.txt
93 lines (82 loc) · 4.72 KB
/
CMakeLists.avb_streamhandler.txt
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
89
90
91
92
93
#
# Copyright (C) 2018 Intel Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#------------------------------------------------------------------
# Build the AVB Streamhandler Library
#------------------------------------------------------------------
add_library( ias-media_transport-avb_streamhandler SHARED
private/src/avb_streamhandler/IasAvbStreamHandlerTypes.cpp
private/src/avb_streamhandler/IasAvbAudioStream.cpp
private/src/avb_streamhandler/IasAvbClockController.cpp
private/src/avb_streamhandler/IasAvbClockDomain.cpp
private/src/avb_streamhandler/IasAvbClockReferenceStream.cpp
private/src/avb_streamhandler/IasAvbHwCaptureClockDomain.cpp
private/src/avb_streamhandler/IasAlsaClockDomain.cpp
private/src/avb_streamhandler/IasAvbPacket.cpp
private/src/avb_streamhandler/IasAvbPacketPool.cpp
private/src/avb_streamhandler/IasAvbPtpClockDomain.cpp
private/src/avb_streamhandler/IasAvbRawClockDomain.cpp
private/src/avb_streamhandler/IasAvbReceiveEngine.cpp
private/src/avb_streamhandler/IasAvbRxStreamClockDomain.cpp
private/src/avb_streamhandler/IasAvbStream.cpp
private/src/avb_streamhandler/IasAvbStreamId.cpp
private/src/avb_streamhandler/IasAvbStreamHandler.cpp
private/src/avb_streamhandler/IasAvbStreamHandlerEnvironment.cpp
private/src/avb_streamhandler/IasAvbSwClockDomain.cpp
private/src/avb_streamhandler/IasAvbTransmitEngine.cpp
private/src/avb_streamhandler/IasAvbTransmitSequencer.cpp
private/src/avb_streamhandler/IasAvbTSpec.cpp
private/src/avb_streamhandler/IasAvbVideoStream.cpp
private/src/avb_streamhandler/IasTestToneStream.cpp
private/src/avb_streamhandler/IasLocalAudioBuffer.cpp
private/src/avb_streamhandler/IasLocalAudioStream.cpp
private/src/avb_streamhandler/IasLocalVideoStream.cpp
private/src/avb_streamhandler/IasLocalVideoBuffer.cpp
private/src/avb_streamhandler/IasAlsaVirtualDeviceStream.cpp
private/src/avb_streamhandler/IasAlsaHwDeviceHandler.cpp
private/src/avb_streamhandler/IasAlsaEngine.cpp
private/src/avb_streamhandler/IasAlsaWorkerThread.cpp
private/src/avb_streamhandler/IasAlsaHandlerWorkerThread.cpp
private/src/avb_streamhandler/IasAvbAudioShmProvider.cpp
private/src/avb_streamhandler/IasDiaLogger.cpp
private/src/avb_streamhandler/IasAvbDiagnosticPacket.cpp
private/src/avb_streamhandler/IasLocalAudioBufferDesc.cpp
private/src/avb_video_common/IasAvbVideoCondVar.cpp
private/src/avb_video_common/IasAvbVideoLog.cpp
private/src/avb_video_common/IasAvbVideoShmConnection.cpp
private/src/avb_video_common/IasAvbVideoRingBuffer.cpp
private/src/avb_video_common/IasAvbVideoRingBufferFactory.cpp
private/src/avb_video_common/IasAvbVideoRingBufferShm.cpp
private/src/avb_video_common/IasAvbVideoStreaming.cpp
private/src/avb_streamhandler/IasVideoStreamInterface.cpp
private/src/avb_streamhandler/IasLocalVideoInStream.cpp
private/src/avb_streamhandler/IasLocalVideoOutStream.cpp
)
if(${SANITIZERS_ON})
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -fsanitize=address,undefined )
target_link_libraries( ias-media_transport-avb_streamhandler asan )
target_link_libraries( ias-media_transport-avb_streamhandler ubsan )
endif()
if (${DIRECT_RX_DMA})
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -DDIRECT_RX_DMA=1 )
endif()
if (${IAS_PREPRODUCTION_SW})
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -DIAS_PREPRODUCTION_SW=1 )
endif()
if (${PERFORMANCE_MEASUREMENT})
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -DPERFORMANCE_MEASUREMENT=1 )
endif()
target_link_libraries( ias-media_transport-avb_streamhandler ${DLT_LDFLAGS} )
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC ${DLT_CFLAGS_OTHER})
target_include_directories( ias-media_transport-avb_streamhandler PUBLIC ${DLT_INCLUDE_DIRS})
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -msse )
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -msse2 )
target_compile_options( ias-media_transport-avb_streamhandler PUBLIC -O3 )
include_directories(${AUDIO_COMMON_INCLUDE_DIRS})
set_target_properties( ias-media_transport-avb_streamhandler PROPERTIES VERSION ${MEDIA_TRANSPORT_AVB_STREAMHANDLER_VERSION_STRING} SOVERSION ${MEDIA_TRANSPORT_AVB_STREAMHANDLER_VERSION_STRING} )
target_link_libraries( ias-media_transport-avb_streamhandler ias-audio-common )
target_link_libraries( ias-media_transport-avb_streamhandler ias-media_transport-lib_ptp_daemon )
target_link_libraries( ias-media_transport-avb_streamhandler ias-media_transport-avb_helper )
install(TARGETS ias-media_transport-avb_streamhandler DESTINATION ${CMAKE_INSTALL_LIBDIR})