2018-05-30 09:42:33 -04:00
|
|
|
project(chanalyzer)
|
2017-01-29 13:51:45 -05:00
|
|
|
|
2018-05-30 09:42:33 -04:00
|
|
|
set(chanalyzer_SOURCES
|
2018-05-30 09:37:56 -04:00
|
|
|
chanalyzer.cpp
|
|
|
|
chanalyzergui.cpp
|
|
|
|
chanalyzerplugin.cpp
|
2019-11-24 04:12:58 -05:00
|
|
|
chanalyzersettings.cpp
|
|
|
|
chanalyzersink.cpp
|
|
|
|
chanalyzerbaseband.cpp
|
2019-08-08 12:42:17 -04:00
|
|
|
chanalyzerwebapiadapter.cpp
|
2019-05-01 05:54:58 -04:00
|
|
|
chanalyzergui.ui
|
2017-01-29 13:51:45 -05:00
|
|
|
)
|
|
|
|
|
2018-05-30 09:42:33 -04:00
|
|
|
set(chanalyzer_HEADERS
|
2018-05-30 09:37:56 -04:00
|
|
|
chanalyzer.h
|
|
|
|
chanalyzergui.h
|
|
|
|
chanalyzerplugin.h
|
2019-11-24 04:12:58 -05:00
|
|
|
chanalyzersettings.h
|
|
|
|
chanalyzersink.h
|
|
|
|
chanalyzerbaseband.h
|
2019-08-08 12:42:17 -04:00
|
|
|
chanalyzerwebapiadapter.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2020-11-05 05:11:43 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
|
|
|
${Boost_INCLUDE_DIRS}
|
2017-01-29 13:51:45 -05:00
|
|
|
)
|
|
|
|
|
2024-09-03 11:52:00 -04:00
|
|
|
set(TARGET_NAME ${PLUGINS_PREFIX}chanalyzer)
|
2022-02-06 07:56:58 -05:00
|
|
|
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
|
|
|
|
|
|
|
|
add_library(${TARGET_NAME} SHARED
|
2018-05-30 09:42:33 -04:00
|
|
|
${chanalyzer_SOURCES}
|
2017-01-29 13:51:45 -05:00
|
|
|
)
|
|
|
|
|
2022-02-06 07:56:58 -05:00
|
|
|
target_link_libraries(${TARGET_NAME}
|
2022-11-17 09:34:54 -05:00
|
|
|
Qt::Core
|
|
|
|
Qt::Widgets
|
2017-01-29 13:51:45 -05:00
|
|
|
sdrbase
|
2017-10-22 13:12:43 -04:00
|
|
|
sdrgui
|
2017-01-29 13:51:45 -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()
|