aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/math
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/math
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/math')
-rw-r--r--src/modules/math/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/modules/math/CMakeLists.txt b/src/modules/math/CMakeLists.txt
new file mode 100644
index 000000000..067972873
--- /dev/null
+++ b/src/modules/math/CMakeLists.txt
@@ -0,0 +1,16 @@
+# CMakeLists for src/modules/math
+
+SET(kvimath_SRCS
+ libkvimath.cpp
+)
+
+# After this call, files will be moc'ed to moc_kvi_*.cpp
+QT4_WRAP_CPP(kvimath_MOC_SRCS ${kvimath_MOC_HDRS})
+
+# Create library
+ADD_LIBRARY(kvimath SHARED ${kvimath_SRCS} ${kvimath_MOC_SRCS})
+#TARGET_LINK_LIBRARIES(kvilib kvimath)
+
+# Install target
+SET_TARGET_PROPERTIES(kvimath PROPERTIES VERSION ${KVI_VERSION} SOVERSION ${KVI_MAJOR})
+INSTALL(TARGETS kvimath LIBRARY DESTINATION ${KVI_INSTALL_PREFIX}/share/kvirc/${KVI_VERSION_BRANCH}/modules/) \ No newline at end of file