This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
CMakeLists.common_internal.txt
executable file
·157 lines (119 loc) · 4.94 KB
/
CMakeLists.common_internal.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# Copyright (C) 2018 Intel Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
# include( CMakeLists.src_delivery.txt )
if( NOT IAS_DISABLE_TESTS )
#------------------------------------------
# Unit tests
#------------------------------------------
IasAddTest( audio common alsa_type_conversion )
IasAddTest( audio common alsa_smartx_plugin_tst )
IasAddTest( audio common audio_common_types )
IasAddTest( audio common fft_functions )
IasAddTest( audio common filter_estimator )
IasAddTest( audio common metadata )
IasAddTest( audio common ringbuffer )
IasAddTest( audio common ringbuffer_mockup )
#IasAddTest( audio common ringbuffer_threads )
IasAddTest( audio common ringbuffer_factory )
IasAddTest( audio common memoryallocation )
IasAddTest( audio common shm_test )
IasAddTest( audio common alsa_smartx_connection_tst )
IasAddTest( audio common samplerateconverter_api )
IasAddTest( audio common samplerateconverter_controller )
IasAddTest( audio common samplerateconverter_farrow )
IasAddTest( audio common samplerateconverter_farrow_all_rates )
IasAddTest( audio common samplerateconverter_farrow_fir_filter )
IasAddTest( audio common samplerateconverter_farrow_interleaved )
IasAddTest( audio common samplerateconverter_farrow_pull_mode )
IasAddTest( audio common copy_audio_area_buffers )
IasAddTest( audio common data_probe )
IasAddTest( audio common samplerateconverter_farrow_thdn )
IasAddTest( audio common src_wrapper )
IasAddTest( audio common mutex_condvar_error )
IasAddTest( audio common mutex_condvar )
IasAddTest( audio common fdsignal )
IasAddTest( audio common logging_tst )
#------------------------------------------------------
# ias-audio-smartx_test_support
#------------------------------------------------------
IasInitLibrary(audio smartx_test_support ${AUDIO_COMMON_VERSION_MAJOR} ${AUDIO_COMMON_VERSION_MINOR} ${AUDIO_COMMON_VERSION_REVISION})
IasSetEntityInstallPrefix( audio )
IasUseEntity( core_libraries foundation )
IasUseEntity( audio common )
IasAddSources( PREFIX smartx_test_support
shm_test_support_processes/IasPipeMessage.cpp
IasFftFunctions.cpp
IasRingBufferTestWriter.cpp
IasRingBufferTestReader.cpp
IasWavComp.cpp
IasFilterEstimator.cpp
IasThdnEstimator.cpp
)
IasAddHeadersInternalPublic(
IasRingBufferTestReader.hpp
IasRingBufferTestWriter.hpp
IasTimeStampCounter.hpp
IasWavComp.hpp
IasFilterEstimator.hpp
IasThdnEstimator.hpp
)
IasAddPrivateCXXFlags(-msse)
IasAddPrivateCXXFlags(-msse2)
IasFindLibrary( BOOST_SERIALIZATION_LIB boost_serialization)
IasFindPath( LIBSNDFILE_INCLUDE "sndfile.h" )
IasFindLibrary( LIBSNDFILE libsndfile.so )
IasBuildLibrary()
#----------------------------------------------
# ias_shm_client_process
#----------------------------------------------
# Client Application for shared memory test
#----------------------------------------------
IasInitExecutable( audio ias_shm_client_process MODULE smartx_test_support )
IasSetEntityInstallPrefix( audio )
IasUseEntity( core_libraries foundation )
IasUseEntity( core_libraries command_line_parser )
IasUseEntity( audio common )
IasUseEntity( audio smartx_test_support )
IasAddSources( PREFIX smartx_test_support
shm_test_support_processes/IasShmClientProcess.cpp
)
IasFindLibrary( BOOST_SERIALIZATION_LIB boost_serialization)
IasBuildExecutable()
if ( IAS_EXTERNAL_BUILD_SOURCE_DIR )
# This is for Jenkins builds
set (TMP_BUILD_DIR_ROOT ${CMAKE_BINARY_DIR}/${externalBuildDir})
else()
# This is for local builds
set (TMP_BUILD_DIR_ROOT ${CMAKE_BINARY_DIR}/audio/common)
endif()
IasGlobalPropertyAppend(IAS_COVERAGE_OFF_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/private/src/smartx_test_support
${CMAKE_CURRENT_SOURCE_DIR}/private/inc/smartx_test_support
${CMAKE_CURRENT_SOURCE_DIR}/public/inc/internal/audio/smartx_test_support
)
#-----------------------------------------------------
# latency
#-----------------------------------------------------
IasInitExecutable( audio latency MODULE tools )
IasSetEntityInstallPrefix( audio )
IasUseEntity( core_libraries foundation STATIC )
IasUseEntity( core_libraries command_line_parser STATIC )
IasFindPath( ASOUND_INCLUDE "sound/asound.h" )
IasFindLibrary( ASOUND_LIB asound )
IasFindPath( SNDFILE_INCLUDE "sndfile.h" )
IasFindLibrary( SNDFILE_LIB sndfile )
IasFindPath( TBB_INCLUDE "tbb/tbb.h" )
IasFindLibrary( TBB_LIB tbb)
IasAddSources( PREFIX tools/latency
IasAlsa.cpp
IasDelayMeasurement.cpp
IasLatency.cpp
main.cpp
)
IasBuildExecutable( )
IasGlobalPropertyAppend(IAS_COVERAGE_OFF_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/private/src/tools
${CMAKE_CURRENT_SOURCE_DIR}/private/inc/tools
)
endif()