aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help
diff options
context:
space:
mode:
authorGravatar Elvio Basello2008-03-29 17:10:56 +0000
committerGravatar Elvio Basello2008-03-29 17:10:56 +0000
commitb11762a81c9fb9c18e16e9b5883be61ee6523755 (patch)
tree7f131d47f8906186e9b48b563ffe11dc8f3de7f9 /src/modules/help
parentported modules about and action; (diff)
downloadKVIrc-b11762a81c9fb9c18e16e9b5883be61ee6523755.tar.gz
KVIrc-b11762a81c9fb9c18e16e9b5883be61ee6523755.tar.bz2
KVIrc-b11762a81c9fb9c18e16e9b5883be61ee6523755.zip
added CMake rules :)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1330 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help')
-rw-r--r--src/modules/help/CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/modules/help/CMakeLists.txt b/src/modules/help/CMakeLists.txt
new file mode 100644
index 000000000..2eea87165
--- /dev/null
+++ b/src/modules/help/CMakeLists.txt
@@ -0,0 +1,25 @@
+# CMakeLists for src/modules/help
+
+SET(kvihelp_MOC_HDRS
+ helpwidget.h
+ helpwindow.h
+ index.h
+)
+
+SET(kvihelp_SRCS
+ libkvihelp.cpp
+ helpwidget.cpp
+ helpwindow.cpp
+ index.cpp
+)
+
+# After this call, files will be moc'ed to moc_kvi_*.cpp
+QT4_WRAP_CPP(kvihelp_MOC_SRCS ${kvihelp_MOC_HDRS})
+
+# Create library
+ADD_LIBRARY(kvihelp SHARED ${kvihelp_SRCS} ${kvihelp_MOC_SRCS})
+#TARGET_LINK_LIBRARIES(kvilib kvihelp)
+
+# Install target
+SET_TARGET_PROPERTIES(kvihelp PROPERTIES VERSION ${KVI_VERSION} SOVERSION ${KVI_MAJOR})
+INSTALL(TARGETS kvihelp LIBRARY DESTINATION ${KVI_INSTALL_PREFIX}/share/kvirc/${KVI_VERSION_BRANCH}/modules/) \ No newline at end of file