delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / workspace / plasma / dataengines / weather / ions / CMakeLists.txt
blob574620d2c03047b5abd28b987648159563892da7
1 set (ionlib_SRCS ion.cpp weatherutils.cpp)
2 kde4_add_library (weather_ion SHARED ${ionlib_SRCS})
3 target_link_libraries (weather_ion ${KDE4_KIO_LIBS} ${KDE4_PLASMA_LIBS})
4 target_link_libraries (weather_ion LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_PLASMA_LIBS})
6 set_target_properties(weather_ion PROPERTIES
7    VERSION ${GENERIC_LIB_VERSION}
8    SOVERSION ${GENERIC_LIB_SOVERSION}
11 install (TARGETS weather_ion EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
13 SET (ion_envcan_SRCS ion_envcan.cpp)
14 SET (ion_noaa_SRCS ion_noaa.cpp)
15 SET (ion_bbcukmet_SRCS ion_bbcukmet.cpp)
17 kde4_add_plugin(ion_envcan ${ion_envcan_SRCS})
18 kde4_add_plugin(ion_noaa ${ion_noaa_SRCS})
19 kde4_add_plugin(ion_bbcukmet ${ion_bbcukmet_SRCS})
21 target_link_libraries (ion_envcan weather_ion)
22 target_link_libraries (ion_noaa weather_ion)
23 target_link_libraries (ion_bbcukmet weather_ion)
25 INSTALL (FILES ion.h
26                ion_export.h
27                weatherutils.h
28          DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/weather COMPONENT Devel)
30 INSTALL (FILES includes/Ion
31                includes/WeatherUtils
32          DESTINATION ${INCLUDE_INSTALL_DIR}/KDE/Plasma/Weather COMPONENT Devel)
34 INSTALL (FILES ion-envcan.desktop ion-noaa.desktop ion-bbcukmet.desktop 
35          DESTINATION ${SERVICES_INSTALL_DIR})
37 INSTALL (TARGETS ion_envcan ion_noaa ion_bbcukmet 
38          DESTINATION ${PLUGIN_INSTALL_DIR})