--- smsdaemon/plugins/CMakeLists.txt 2008/06/11 09:00:56 45 +++ smsdaemon/plugins/CMakeLists.txt 2008/12/15 13:27:53 188 @@ -1,6 +1,13 @@ -include_directories(.. .) +INCLUDE_DIRECTORIES(.. .) -add_library(plugins Plugin.cpp PluginManager.cpp EchoPlugin.cpp SpamPlugin.cpp ShellExecPlugin.cpp) +ADD_LIBRARY(smsplugins SHARED + EchoPlugin.cpp SpamPlugin.cpp ShellExecPlugin.cpp TogPlugin.cpp TrainInfo.cpp StatusPlugin.cpp ListPlugin.cpp + HostStatusPlugin.cpp WeatherPlugin.cpp) +INSTALL(TARGETS smsplugins + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +)