diff options
| author | 2008-03-29 17:10:56 +0000 | |
|---|---|---|
| committer | 2008-03-29 17:10:56 +0000 | |
| commit | b11762a81c9fb9c18e16e9b5883be61ee6523755 (patch) | |
| tree | 7f131d47f8906186e9b48b563ffe11dc8f3de7f9 /src/modules/system | |
| parent | ported modules about and action; (diff) | |
| download | KVIrc-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/system')
| -rw-r--r-- | src/modules/system/CMakeLists.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/modules/system/CMakeLists.txt b/src/modules/system/CMakeLists.txt new file mode 100644 index 000000000..e80691657 --- /dev/null +++ b/src/modules/system/CMakeLists.txt @@ -0,0 +1,22 @@ +# CMakeLists for src/modules/system + +SET(kvieventeditor_MOC_HDRS + plugin.h +) + +SET(kvisystem_SRCS + libkvisystem.cpp + plugin.cpp +) + +# After this call, files will be moc'ed to moc_kvi_*.cpp +QT4_WRAP_CPP(kvisystem_MOC_SRCS ${kvisystem_MOC_HDRS}) + +# Create library +ADD_LIBRARY(kvisystem SHARED ${kvisystem_SRCS} ${kvisystem_MOC_SRCS}) +#TARGET_LINK_LIBRARIES(kvilib kvisystem) + +# Install target +SET_TARGET_PROPERTIES(kvisystem PROPERTIES VERSION ${KVI_VERSION} SOVERSION ${KVI_MAJOR}) +INSTALL(TARGETS kvisystem LIBRARY DESTINATION ${KVI_INSTALL_PREFIX}/share/kvirc/${KVI_VERSION_BRANCH}/modules/) + |
