PROJECT(SatellitesPlugin)

INCLUDE_DIRECTORIES(
 ${CMAKE_SOURCE_DIR}/src/lib/astro
 ${CMAKE_SOURCE_DIR}/src/3rdparty/sgp4
 ${CMAKE_CURRENT_SOURCE_DIR}
 ${CMAKE_CURRENT_BINARY_DIR}
)

set(satellites_SRCS
 TrackerPluginModel.cpp
 TrackerPluginItem.cpp

 SatellitesPlugin.cpp
 SatellitesModel.cpp
 SatellitesMSCItem.cpp
 SatellitesTLEItem.cpp
 SatellitesConfigModel.cpp
 SatellitesConfigDialog.cpp
 SatellitesConfigAbstractItem.cpp
 SatellitesConfigNodeItem.cpp
 SatellitesConfigLeafItem.cpp

 TrackerPluginModel.h
 TrackerPluginItem.h

 SatellitesPlugin.h
 SatellitesModel.h
 SatellitesMSCItem.h
 SatellitesTLEItem.h
 SatellitesConfigModel.h
 SatellitesConfigDialog.h
 SatellitesConfigAbstractItem.h
 SatellitesConfigNodeItem.h
 SatellitesConfigLeafItem.h
)

qt_wrap_ui( satellites_SRCS SatellitesConfigDialog.ui)

qt_add_resources( satellites_SRCS satellites.qrc)

marble_add_plugin( SatellitesPlugin
 ${satellites_SRCS}
 ${sgp4_SRCS})

target_link_libraries(SatellitesPlugin astro sgp4)
