diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-05 23:54:57 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-05 23:54:57 +0000 |
commit | b67ece773ccb72aafa48a4117a9aae82531e3aaf (patch) | |
tree | 9dd91fcd5599ae865bea43313ed7068eb4ec0177 /libksieve | |
parent | a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 (diff) | |
download | tdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.tar.gz tdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.zip |
[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksieve')
-rw-r--r-- | libksieve/CMakeLists.txt | 39 | ||||
-rw-r--r-- | libksieve/ksieve/CMakeLists.txt | 14 | ||||
-rw-r--r-- | libksieve/parser/CMakeLists.txt | 25 | ||||
-rw-r--r-- | libksieve/shared/CMakeLists.txt | 25 |
4 files changed, 103 insertions, 0 deletions
diff --git a/libksieve/CMakeLists.txt b/libksieve/CMakeLists.txt new file mode 100644 index 000000000..d28674d9d --- /dev/null +++ b/libksieve/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +project( libksieve ) + +add_subdirectory( ksieve ) +add_subdirectory( shared ) +add_subdirectory( parser ) + +include_directories( + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### ksieve (shared) ########################### + +configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY ) + +tde_add_library( ksieve SHARED + SOURCES dummy.cpp + VERSION 0.0.0 + EMBED ksieve_parser-static ksieve_shared-static + LINK kdecore-shared + DESTINATION ${LIB_INSTALL_DIR} +) + +tde_install_export( ) diff --git a/libksieve/ksieve/CMakeLists.txt b/libksieve/ksieve/CMakeLists.txt new file mode 100644 index 000000000..9765ddfa0 --- /dev/null +++ b/libksieve/ksieve/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + error.h lexer.h parser.h scriptbuilder.h + DESTINATION ${INCLUDE_INSTALL_DIR}/ksieve ) diff --git a/libksieve/parser/CMakeLists.txt b/libksieve/parser/CMakeLists.txt new file mode 100644 index 000000000..526bb1685 --- /dev/null +++ b/libksieve/parser/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libksieve + ${CMAKE_SOURCE_DIR}/libkdepim + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### ksieve_parser (static) #################### + +tde_add_library( ksieve_parser STATIC_PIC + SOURCES utf8validator.cpp lexer.cpp parser.cpp +) diff --git a/libksieve/shared/CMakeLists.txt b/libksieve/shared/CMakeLists.txt new file mode 100644 index 000000000..5f3e92f42 --- /dev/null +++ b/libksieve/shared/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libksieve + ${CMAKE_SOURCE_DIR}/libkdepim + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### ksieve_shared (static) #################### + +tde_add_library( ksieve_shared STATIC_PIC + SOURCES error.cpp +) |