1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 18:15:45 -05:00
sdrangel/plugins/channelrx/demodft8/CMakeLists.txt

76 lines
1.6 KiB
CMake
Raw Normal View History

2023-01-14 19:22:57 -05:00
project(demodft8)
set(demodft8_SOURCES
ft8demod.cpp
ft8demodsettings.cpp
ft8demodsink.cpp
ft8demodbaseband.cpp
ft8demodwebapiadapter.cpp
ft8plugin.cpp
2023-01-18 17:00:59 -05:00
ft8buffer.cpp
ft8demodworker.cpp
2023-01-14 19:22:57 -05:00
)
set(demodft8_HEADERS
ft8demod.h
ft8demodsettings.h
ft8demodsink.h
ft8demodbaseband.h
ft8demodwebapiadapter.h
ft8plugin.h
2023-01-18 17:00:59 -05:00
ft8buffer.h
ft8demodworker.h;
2023-01-14 19:22:57 -05:00
)
include_directories(
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
2023-01-19 17:51:43 -05:00
${CMAKE_SOURCE_DIR}/ft8
${FFTW3F_INCLUDE_DIRS}
2023-01-14 19:22:57 -05:00
)
if(NOT SERVER_MODE)
set(demodft8_SOURCES
${demodft8_SOURCES}
ft8demodgui.cpp
ft8demodfilterproxy.cpp
2023-01-14 19:22:57 -05:00
ft8demodgui.ui
2023-01-22 14:08:32 -05:00
ft8demodsettingsdialog.cpp
ft8demodsettingsdialog.ui
2023-01-14 19:22:57 -05:00
)
set(demodft8_HEADERS
${demodft8_HEADERS}
ft8demodgui.h
ft8demodfilterproxy.h
2023-01-22 14:08:32 -05:00
ft8demodsettingsdialog.h
2023-01-14 19:22:57 -05:00
)
set(TARGET_NAME demodft8)
set(TARGET_LIB "Qt::Widgets")
set(TARGET_LIB_GUI "sdrgui")
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
else()
set(TARGET_NAME demodft8srv)
set(TARGET_LIB "")
set(TARGET_LIB_GUI "")
set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR})
endif()
add_library(${TARGET_NAME} SHARED
${demodft8_SOURCES}
)
target_link_libraries(${TARGET_NAME}
Qt::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}
swagger
2023-01-19 17:51:43 -05:00
ft8
2023-01-14 19:22:57 -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()