1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-08 17:46:03 -05:00
sdrangel/plugins/feature/startracker/CMakeLists.txt
Jon Beniston cddc8c9b83 Star Tracker updates.
Plot Sun and Moon on sky temperature chart.
Plot markers on Galactic line-of-sight chart.
Create animations from Galactic line-of-sight chart.
Allow weather at antenna location to be downloaded from openweathermap.org
Allow target to be entered as Galactic longitude / latitude.
Add azimuth and elevation offsets to support scans around targets.
Add S7, S8 and S9 targets.
Refactor some code from GUI to main plugin, so computed values can be used in other plugins.
2021-10-12 11:07:56 +01:00

69 lines
1.5 KiB
CMake

project(startracker)
set(startracker_SOURCES
startracker.cpp
startrackersettings.cpp
startrackerplugin.cpp
startrackerworker.cpp
startrackerwebapiadapter.cpp
startracker150mhzfits.qrc
startracker408mhzfits.qrc
startracker1420mhzfits.qrc
)
set(startracker_HEADERS
startracker.h
startrackersettings.h
startrackerplugin.h
startrackerreport.h
startrackerworker.h
startrackerwebapiadapter.h
)
include_directories(
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)
if(NOT SERVER_MODE)
set(startracker_SOURCES
${startracker_SOURCES}
startrackergui.cpp
startrackergui.ui
startrackersettingsdialog.cpp
startrackersettingsdialog.ui
startracker.qrc
startracker150mhz.qrc
startracker408mhz.qrc
startracker1420mhz.qrc
startrackermilkyway.qrc
)
set(startracker_HEADERS
${startracker_HEADERS}
startrackergui.h
startrackersettingsdialog.h
)
set(TARGET_NAME featurestartracker)
set(TARGET_LIB Qt5::Widgets Qt5::Charts)
set(TARGET_LIB_GUI "sdrgui")
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
else()
set(TARGET_NAME featurestartrackersrv)
set(TARGET_LIB "")
set(TARGET_LIB_GUI "")
set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR})
endif()
add_library(${TARGET_NAME} SHARED
${startracker_SOURCES}
)
target_link_libraries(${TARGET_NAME}
Qt5::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}
)
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})