2018-02-22 16:52:49 -05:00
|
|
|
project(datv)
|
|
|
|
|
2018-11-24 15:21:04 -05:00
|
|
|
|
2018-02-22 16:52:49 -05:00
|
|
|
set(datv_SOURCES
|
2019-05-01 05:54:58 -04:00
|
|
|
datvdemod.cpp
|
|
|
|
datvdemodgui.cpp
|
2019-03-17 18:49:28 -04:00
|
|
|
datvdemodplugin.cpp
|
|
|
|
datvdemodsettings.cpp
|
2019-08-11 06:47:51 -04:00
|
|
|
datvdemodwebapiadapter.cpp
|
2019-05-01 05:54:58 -04:00
|
|
|
datvideostream.cpp
|
2019-07-28 04:54:04 -04:00
|
|
|
datvudpstream.cpp
|
2019-03-17 16:31:42 -04:00
|
|
|
datvideorender.cpp
|
2019-12-03 12:49:52 -05:00
|
|
|
datvdemodreport.cpp
|
|
|
|
datvdemodsink.cpp
|
|
|
|
datvdemodbaseband.cpp
|
2021-03-06 18:29:01 -05:00
|
|
|
datvdvbs2ldpcdialog.cpp
|
2019-03-17 16:31:42 -04:00
|
|
|
leansdr/dvb.cpp
|
|
|
|
leansdr/filtergen.cpp
|
|
|
|
leansdr/framework.cpp
|
|
|
|
leansdr/math.cpp
|
|
|
|
leansdr/sdr.cpp
|
2019-05-01 05:54:58 -04:00
|
|
|
datvdemodgui.ui
|
2021-03-06 18:29:01 -05:00
|
|
|
datvdvbs2ldpcdialog.ui
|
2018-02-22 16:52:49 -05:00
|
|
|
)
|
|
|
|
|
2021-03-07 01:41:19 -05:00
|
|
|
set(ldpc_SOURCES
|
|
|
|
ldpctool/tables_handler.cpp
|
|
|
|
)
|
|
|
|
|
2018-02-22 16:52:49 -05:00
|
|
|
set(datv_HEADERS
|
2019-05-01 05:54:58 -04:00
|
|
|
datvdemod.h
|
|
|
|
datvdemodgui.h
|
|
|
|
datvdemodplugin.h
|
2019-03-17 18:49:28 -04:00
|
|
|
datvdemodsettings.h
|
2019-08-11 06:47:51 -04:00
|
|
|
datvdemodwebapiadapter.h
|
2019-05-01 05:54:58 -04:00
|
|
|
datvideostream.h
|
2019-07-28 04:54:04 -04:00
|
|
|
datvudpstream.h
|
2019-03-17 16:31:42 -04:00
|
|
|
datvideorender.h
|
2019-07-14 09:35:45 -04:00
|
|
|
datvconstellation.h
|
|
|
|
datvdvbs2constellation.h
|
2019-12-03 12:49:52 -05:00
|
|
|
datvdemodreport.h
|
|
|
|
datvdemodsink.h
|
|
|
|
datvdemodbaseband.h
|
2021-03-06 18:29:01 -05:00
|
|
|
datvdvbs2ldpcdialog.h
|
2019-03-17 16:31:42 -04:00
|
|
|
leansdr/dvb.h
|
2019-07-14 09:35:45 -04:00
|
|
|
leansdr/dvbs2.h
|
2019-03-17 16:31:42 -04:00
|
|
|
leansdr/filtergen.h
|
|
|
|
leansdr/framework.h
|
|
|
|
leansdr/math.h
|
|
|
|
leansdr/sdr.h
|
2021-03-07 01:41:19 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
set(ldpc_HEADERS
|
2021-03-02 00:02:38 -05:00
|
|
|
ldpctool/ldpc.h
|
|
|
|
ldpctool/dvb_s2_tables.h
|
|
|
|
ldpctool/dvb_s2x_tables.h
|
|
|
|
ldpctool/dvb_t2_tables.h
|
2018-02-22 16:52:49 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2019-05-01 05:54:58 -04:00
|
|
|
${AVCODEC_INCLUDE_DIRS}
|
|
|
|
${AVFORMAT_INCLUDE_DIRS}
|
|
|
|
${AVUTIL_INCLUDE_DIRS}
|
2019-03-19 21:15:59 -04:00
|
|
|
${SWSCALE_INCLUDE_DIRS}
|
|
|
|
${SWRESAMPLE_INCLUDE_DIRS}
|
2019-08-11 06:47:51 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
2018-02-22 16:52:49 -05:00
|
|
|
)
|
|
|
|
|
2021-03-07 01:41:19 -05:00
|
|
|
if (LINUX)
|
|
|
|
add_library(demoddatv SHARED
|
|
|
|
${datv_SOURCES}
|
|
|
|
${ldpc_SOURCES}
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
add_library(demoddatv SHARED
|
|
|
|
${datv_SOURCES}
|
|
|
|
)
|
|
|
|
endif()
|
2018-02-22 16:52:49 -05:00
|
|
|
|
|
|
|
target_link_libraries(demoddatv
|
2019-05-01 05:54:58 -04:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Widgets
|
|
|
|
Qt5::Multimedia
|
|
|
|
Qt5::MultimediaWidgets
|
|
|
|
sdrbase
|
|
|
|
sdrgui
|
|
|
|
${AVCODEC_LIBRARIES}
|
|
|
|
${AVFORMAT_LIBRARIES}
|
|
|
|
${AVUTIL_LIBRARIES}
|
2019-03-19 21:15:59 -04:00
|
|
|
${SWSCALE_LIBRARIES}
|
|
|
|
${SWRESAMPLE_LIBRARIES}
|
2018-02-22 16:52:49 -05:00
|
|
|
)
|
|
|
|
|
2021-03-07 01:41:19 -05:00
|
|
|
if (LINUX)
|
|
|
|
add_executable(ldpctool
|
|
|
|
ldpctool/ldpc_tool.cpp
|
|
|
|
ldpctool/tables_handler.cpp
|
|
|
|
)
|
|
|
|
install(TARGETS ldpctool DESTINATION ${INSTALL_BIN_DIR})
|
|
|
|
endif()
|
2021-03-04 02:43:04 -05:00
|
|
|
|
2019-05-01 09:17:27 -04:00
|
|
|
install(TARGETS demoddatv DESTINATION ${INSTALL_PLUGINS_DIR})
|