FaceAccess/Record/CMakeLists.txt

81 lines
2.4 KiB
CMake
Raw Normal View History

2024-09-04 17:57:23 +08:00
find_package(Boost REQUIRED COMPONENTS json)
2024-06-18 14:27:48 +08:00
add_executable(Record main.cpp
RkAudio.h RkAudio.cpp
OpusCodec.h OpusCodec.cpp
FFmpegResample.h FFmpegResample.cpp
2024-09-04 17:57:23 +08:00
EchoRecord.cpp
Player.cpp
2024-09-06 16:35:51 +08:00
ProcessFile.cpp
2024-09-04 17:57:23 +08:00
Recorder.cpp
SpeexDsp.h SpeexDsp.cpp
2024-09-05 09:59:28 +08:00
Utility.h Utility.cpp
2024-09-05 12:24:05 +08:00
WebRtcAecm.h WebRtcAecm.cpp
2024-09-04 17:57:23 +08:00
WebRTCPublisher.h WebRTCPublisher.cpp
2024-06-18 14:27:48 +08:00
)
target_include_directories(Record
PRIVATE ${ALSA_INCLUDE_DIR}
PRIVATE ${MPP_INCLUDE_DIR}
PRIVATE ${MPP_INCLUDE_DIR}/rkmedia
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/opus-1.4/include
2024-09-04 17:57:23 +08:00
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/amazon-kinesis-video-streams-webrtc-sdk-c/include
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/speexdsp-1.2.1/include
2024-06-18 14:27:48 +08:00
PRIVATE ${FFMPEG_INCLUDE_DIR}
2024-09-06 16:35:51 +08:00
# PRIVATE ${CMAKE_SOURCE_DIR}/rkap/include
2024-06-18 14:27:48 +08:00
)
target_link_directories(Record
PRIVATE ${ALSA_LIBRARY_DIRS}
PRIVATE ${MPP_LIBRARY_DIRS}
PRIVATE ${3rdparty_ROOT}/rkap_3a/lib
PRIVATE ${FFMPEG_LIBRARY_DIRS}
2024-09-04 17:57:23 +08:00
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/speexdsp-1.2.1/lib
2024-06-18 14:27:48 +08:00
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/opus-1.4/lib
2024-09-04 17:57:23 +08:00
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/amazon-kinesis-video-streams-webrtc-sdk-c/lib
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/usrsctp-0.9.5.0/lib
PRIVATE /opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/lib/libsrtp-2.6.0/lib
2024-09-06 16:35:51 +08:00
# PRIVATE ${CMAKE_SOURCE_DIR}/rkap/lib
2024-06-18 14:27:48 +08:00
)
target_link_libraries(Record
2024-09-05 12:24:05 +08:00
PRIVATE VocieProcess
2024-09-06 09:45:44 +08:00
PRIVATE absl::optional
2024-06-18 14:27:48 +08:00
PRIVATE asound
PRIVATE easymedia
PRIVATE drm
PRIVATE rkaiq
PRIVATE rockchip_mpp
PRIVATE v4l2
PRIVATE v4lconvert
PRIVATE jpeg
PRIVATE png16
PRIVATE fontconfig
PRIVATE freetype
PRIVATE expat
PRIVATE rga
PRIVATE glib-2.0
PRIVATE pcre
PRIVATE opus
2024-09-04 17:57:23 +08:00
PRIVATE speexdsp
PRIVATE Boost::json
PRIVATE kvsCommonLws
PRIVATE kvsWebrtcClient
PRIVATE kvsWebrtcSignalingClient
PRIVATE kvspic
PRIVATE kvspicUtils
PRIVATE kvspicClient
PRIVATE usrsctp
PRIVATE srtp2
2024-06-18 14:27:48 +08:00
PRIVATE Universal
2024-09-04 17:57:23 +08:00
PRIVATE HttpProxy
2024-06-18 14:27:48 +08:00
PRIVATE stdc++fs
PRIVATE RKAP_ANR
PRIVATE RKAP_Common
PRIVATE uuid
PRIVATE dl
PRIVATE z
PRIVATE ${FFMPEG_LIBRARY}
2024-09-06 16:35:51 +08:00
# PRIVATE RKAP_Common
# PRIVATE RKAP_3A
2024-06-18 14:27:48 +08:00
)