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 /certmanager/lib/backends | |
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 'certmanager/lib/backends')
-rw-r--r-- | certmanager/lib/backends/CMakeLists.txt | 13 | ||||
-rw-r--r-- | certmanager/lib/backends/chiasmus/CMakeLists.txt | 33 | ||||
-rw-r--r-- | certmanager/lib/backends/chiasmus/ConfigureChecks.cmake | 15 | ||||
-rw-r--r-- | certmanager/lib/backends/qgpgme/CMakeLists.txt | 38 |
4 files changed, 99 insertions, 0 deletions
diff --git a/certmanager/lib/backends/CMakeLists.txt b/certmanager/lib/backends/CMakeLists.txt new file mode 100644 index 000000000..8695ad83f --- /dev/null +++ b/certmanager/lib/backends/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( qgpgme ) +add_subdirectory( chiasmus ) diff --git a/certmanager/lib/backends/chiasmus/CMakeLists.txt b/certmanager/lib/backends/chiasmus/CMakeLists.txt new file mode 100644 index 000000000..62e71adbf --- /dev/null +++ b/certmanager/lib/backends/chiasmus/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include( ConfigureChecks.cmake ) + +add_definitions( "-DGPG_ERR_SOURCE_DEFAULT=((gpg_err_source_t)176)" ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/certmanager/lib + ${CMAKE_SOURCE_DIR}/libkdepim + ${CMAKE_SOURCE_DIR}/libkdenetwork + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### kleopatra_backend_chiasmus (static) ####### + +tde_add_library( kleopatra_backend_chiasmus STATIC_PIC AUTOMOC + SOURCES + config_data.c obtainkeysjob.cpp symcryptrunprocessbase.cpp + chiasmusjob.cpp chiasmuslibrary.cpp chiasmusbackend.cpp +) diff --git a/certmanager/lib/backends/chiasmus/ConfigureChecks.cmake b/certmanager/lib/backends/chiasmus/ConfigureChecks.cmake new file mode 100644 index 000000000..570afff3d --- /dev/null +++ b/certmanager/lib/backends/chiasmus/ConfigureChecks.cmake @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +check_c_source_compiles(" + union { int one; const char * two } foo = { .two = \"Hello\" }; + int main() { return 0; }" + HAVE_C99_INITIALIZERS ) diff --git a/certmanager/lib/backends/qgpgme/CMakeLists.txt b/certmanager/lib/backends/qgpgme/CMakeLists.txt new file mode 100644 index 000000000..ae2789155 --- /dev/null +++ b/certmanager/lib/backends/qgpgme/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (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_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/certmanager/lib + ${CMAKE_SOURCE_DIR}/libkdenetwork + ${CMAKE_SOURCE_DIR}/libkdepim + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${GPGME_INCLUDE_DIRS} +) + + +##### kleopatra_backend_qgpgme (static) ######### + +tde_add_library( kleopatra_backend_qgpgme STATIC_PIC AUTOMOC + SOURCES + gnupgprocessbase.cpp qgpgmeprogresstokenmapper.cpp + qgpgmebackend.cpp qgpgmejob.cpp qgpgmekeylistjob.cpp + qgpgmekeygenerationjob.cpp qgpgmeimportjob.cpp + qgpgmeexportjob.cpp qgpgmesecretkeyexportjob.cpp + qgpgmedownloadjob.cpp qgpgmedeletejob.cpp + qgpgmeencryptjob.cpp qgpgmedecryptjob.cpp + qgpgmesignjob.cpp qgpgmeverifydetachedjob.cpp + qgpgmeverifyopaquejob.cpp qgpgmesignencryptjob.cpp + qgpgmedecryptverifyjob.cpp qgpgmecryptoconfig.cpp + qgpgmerefreshkeysjob.cpp +) |