diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..f8370cd --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,89 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### tderadio (translations) + +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) + + +##### tderadio (shared) + +tde_add_library( tderadio SHARED AUTOMOC + META_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include + SOURCES + alarm.cpp + debug-profiler.cpp + errorlog-interfaces.cpp + fileringbuffer.cpp + frequencyradiostation.cpp + frequencyseekhelper.cpp + internetradiostation.cpp + multibuffer.cpp + plugin_configuration_dialog.cpp + plugins.cpp + pluginmanager.cpp + pluginmanager-configuration.cpp + pluginmanager-configuration-ui.ui + radio_interfaces.cpp + radiodevice_interfaces.cpp + radiodevicepool_interfaces.cpp + radiostation.cpp + radiostation-config.cpp + radiostation-listview.cpp + ringbuffer.cpp + seekhelper.cpp + soundformat.cpp + soundstreamclient_interfaces.cpp + soundstreamid.cpp + standardscandialog.cpp + standardscandialog-ui.ui + station-drag-object.cpp + stationlist.cpp + stationlistxmlhandler.cpp + stationselection_interfaces.cpp + stationselector.cpp + stationselector-ui.ui + timecontrol_interfaces.cpp + utils.cpp + widgetplugins.cpp + + LINK tdecore-shared tdeui-shared tdeio-shared + VERSION 0.0.0 + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### tderadio (executable) + +tde_add_executable( tderadio AUTOMOC + META_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include + SOURCES + main.cpp + tderadioapp.cpp + aboutwidget.cpp + + LINK tderadio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( tderadio.desktop ) + +INSTALL( + FILES tderadio.xpm + DESTINATION ${SHARE_INSTALL_PREFIX}/pixmaps +) |