2017-02-23 02:18:56 -05:00
|
|
|
project(atv)
|
|
|
|
|
|
|
|
set(atv_SOURCES
|
2019-12-01 09:13:35 -05:00
|
|
|
atvdemod.cpp
|
|
|
|
atvdemodbaseband.cpp
|
|
|
|
atvdemodsink.cpp
|
2019-08-11 05:35:53 -04:00
|
|
|
atvdemodsettings.cpp
|
|
|
|
atvdemodwebapiadapter.cpp
|
2017-02-23 02:18:56 -05:00
|
|
|
atvdemodgui.cpp
|
|
|
|
atvdemodplugin.cpp
|
2019-05-01 05:54:58 -04:00
|
|
|
atvdemodgui.ui
|
2017-02-23 02:18:56 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
set(atv_HEADERS
|
2019-12-01 09:13:35 -05:00
|
|
|
atvdemod.h
|
|
|
|
atvdemodbaseband.h
|
|
|
|
atvdemodsink.h
|
2019-08-11 05:35:53 -04:00
|
|
|
atvdemodsettings.h
|
|
|
|
atvdemodwebapiadapter.h
|
2017-02-23 02:18:56 -05:00
|
|
|
atvdemodgui.h
|
|
|
|
atvdemodplugin.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2019-08-11 05:35:53 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
2020-11-05 05:11:43 -05:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2017-02-23 02:18:56 -05:00
|
|
|
)
|
|
|
|
|
2022-02-06 07:56:58 -05:00
|
|
|
set(TARGET_NAME demodatv)
|
|
|
|
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
|
|
|
|
|
|
|
|
add_library(${TARGET_NAME} SHARED
|
2017-02-23 02:18:56 -05:00
|
|
|
${atv_SOURCES}
|
|
|
|
)
|
|
|
|
|
2022-02-06 07:56:58 -05:00
|
|
|
target_link_libraries(${TARGET_NAME}
|
2019-08-11 05:35:53 -04:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Widgets
|
2017-02-23 02:18:56 -05:00
|
|
|
sdrbase
|
2017-10-22 13:12:43 -04:00
|
|
|
sdrgui
|
2017-02-23 02:18:56 -05:00
|
|
|
)
|
|
|
|
|
2022-02-06 07:56:58 -05:00
|
|
|
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
|
|
|
|
|
|
|
# Install debug symbols
|
|
|
|
if (WIN32)
|
|
|
|
install(FILES $<TARGET_PDB_FILE:${TARGET_NAME}> CONFIGURATIONS Debug RelWithDebInfo DESTINATION ${INSTALL_FOLDER} )
|
|
|
|
endif()
|