--- smsdaemon/plugins/CMakeLists.txt 2008/06/11 09:12:15 47 +++ smsdaemon/plugins/CMakeLists.txt 2008/12/07 11:55:44 139 @@ -1,6 +1,13 @@ -include_directories(.. .) +INCLUDE_DIRECTORIES(.. .) -add_library(plugins SHARED Plugin.cpp PluginManager.cpp EchoPlugin.cpp SpamPlugin.cpp ShellExecPlugin.cpp TogPlugin.cpp TrainInfo.cpp) +ADD_LIBRARY(smsplugins SHARED + EchoPlugin.cpp SpamPlugin.cpp ShellExecPlugin.cpp TogPlugin.cpp TrainInfo.cpp StatusPlugin.cpp ListPlugin.cpp + HostStatusPlugin.cpp) +INSTALL(TARGETS smsplugins + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +)