summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-01 02:30:35 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-03-01 02:30:35 -0500
commit8ba94390f36cfb49c080ae83e5684d0e856f4de0 (patch)
treef64395e1af56a30d3a01a9cbb354cec0df6c444c
parentac0c0253146428bd97f048b211f068a0ed603d3b (diff)
downloadsigen-8ba94390f36cfb49c080ae83e5684d0e856f4de0.tar.gz
sigen-8ba94390f36cfb49c080ae83e5684d0e856f4de0.tar.xz
sigen-8ba94390f36cfb49c080ae83e5684d0e856f4de0.zip
Add CMake file for plugins
-rw-r--r--sigencore/plugins/CMakeLists.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/sigencore/plugins/CMakeLists.txt b/sigencore/plugins/CMakeLists.txt
new file mode 100644
index 00000000..bc683fc1
--- /dev/null
+++ b/sigencore/plugins/CMakeLists.txt
@@ -0,0 +1,47 @@
+project(plugins)
+
+set(sigencoreplugins_HEADERS
+ ArenaPlugin.h
+ Global.h
+)
+set(sigencoreplugins_SRCS
+ ArenaPlugin.cpp
+)
+
+kde4_add_library(sigencoreplugins
+ SHARED
+ ${sigencoreplugins_SRCS}
+)
+set_target_properties(sigencoreplugins
+ PROPERTIES
+ VERSION ${SIGEN_VERSION}
+ SOVERSION ${SIGEN_SOVERSION}
+)
+target_link_libraries(sigencoreplugins
+ ${KDE4_KDEUI_LIBRARY}
+ sigencore
+)
+target_link_libraries(sigencoreplugins LINK_INTERFACE_LIBRARIES
+ ${KDE4_KDEUI_LIBRARY}
+ sigencore
+)
+
+install(
+ TARGETS
+ sigencoreplugins
+ EXPORT
+ sigen_EXPORTS
+ DESTINATION
+ ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
+ COMPONENT
+ runtime
+)
+
+install(
+ FILES
+ ${sigencoreplugins_HEADERS}
+ DESTINATION
+ ${CMAKE_INSTALL_PREFIX}/include/sigencore/plugins
+ COMPONENT
+ development
+)