26 Commits

Author SHA1 Message Date
Ivan Romanov
094899a00c Optional plugins build
Now possible to build only required plugins and skip all others.
Also can get fail if required plugins can't be built.
By default will be build all possible plugins.

New cmake cache variables:

ENABLE_PLUGINS - list plugins to build (botan;ossl;gnupg for example).
                 Also possible values is none, auto or all
                 (by default: "auto")

WITH_${PLUGIN}_PLUGIN - to build particular plugin. Can be no, yes or
                        auto (WITH_ossl_PLUGIN=auto for example)
2013-11-11 21:08:56 +06:00
Ivan Romanov
9462469bb5 dropped bat, qconf and qmake rules
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d added cmake variable QCA_LIB_SUFFIX
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.

I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +06:00
Ivan Romanov
44c7fbb74f install qca to prefix or qt_prefix
Added option QCA_INSTALL_IN_QT_PREFIX to provide a way to choose
default prefix for installing qca. By default is ON.
Also added a cache vars.
  QCA_PREFIX_INSTALL_DIR
  QCA_PLUGINS_INSTALL_DIR
  QCA_BINARY_INSTALL_DIR
  QCA_LIBRARY_INSTALL_DIR
  QCA_FEATURE_INSTALL_DIR
  QCA_INCLUDE_INSTALL_DIR
  QCA_PRIVATE_INCLUDE_INSTALL_DIR
  QCA_DOC_INSTALL_DIR
  QCA_MAN_INSTALL_DIR
2013-08-24 21:26:40 +06:00
Ivan Romanov
e0cdd5db40 Revert "install qca to prefix or qt_prefix"
This reverts commit f5cb5b04dcb37ab4a62943c19646bcfa3d7d3b23.
2013-07-25 14:23:16 +06:00
Ivan Romanov
f5cb5b04dc install qca to prefix or qt_prefix
Added option QCA_INSTALL_IN_QT_PREFIX to provide a way to choose
default prefix for installing qca. By default is ON.
Also added a cache vars.
  QCA_PREFIX_INSTALL_DIR
  QCA_PLUGINS_INSTALL_DIR
  QCA_BINARY_INSTALL_DIR
  QCA_LIBRARY_INSTALL_DIR
  QCA_FEATURE_INSTALL_DIR
  QCA_INCLUDE_INSTALL_DIR
  QCA_PRIVATE_INCLUDE_INSTALL_DIR
  QCA_DOC_INSTALL_DIR
  QCA_MAN_INSTALL_DIR
2013-07-24 22:08:12 +06:00
David Faure
7d073db453 Finish port to Qt5: plugins. Patch by Ivan Romanov.
svn path=/trunk/kdesupport/qca/; revision=1347518
2013-04-02 12:41:12 +00:00
Funda Wang
4c9afd56cc build modules rather than shared libs for really modules
svn path=/trunk/kdesupport/qca/; revision=1111903
2010-04-07 00:26:26 +00:00
Justin Karneges
b576b82533 buildmodeplugin.qcm used to be a copy of buildmode.qcm, just without the
framework options.  refactor so that buildmode.qcm doesn't have 
framework options, and create a new file buildmode_framework.qcm that 
only has the framework options.  helps with DRY.

svn path=/trunk/kdesupport/qca/; revision=958892
2009-04-24 22:16:54 +00:00
Adriaan de Groot
f96774d870 In response to r838198, need stdlib.h for atoi as well, not just because of getenv.
svn path=/trunk/kdesupport/qca/; revision=838272
2008-07-27 12:50:46 +00:00
Justin Karneges
23296cecda use qgetenv to prevent warnings on vs2005
svn path=/trunk/kdesupport/qca/; revision=838198
2008-07-27 06:53:20 +00:00
Justin Karneges
6aa9051322 create a separate buildmodeplugin module to be used for plugins
svn path=/trunk/kdesupport/qca/; revision=816495
2008-06-04 01:46:14 +00:00
Christian Ehrlicher
4052cd4918 make it work with cmake 2.6.0-rc6 on windows
svn path=/trunk/kdesupport/qca/; revision=793329
2008-04-03 17:11:08 +00:00
Justin Karneges
8b52677483 "undefined interface" moc workaround
http://forum.psi-im.org/thread/4686

svn path=/trunk/kdesupport/qca/; revision=732927
2007-11-05 05:21:51 +00:00
Justin Karneges
e81a1ea875 track qca.qcm changes
svn path=/trunk/kdesupport/qca/; revision=732154
2007-11-02 23:17:17 +00:00
Rolf Eike Beer
6d8e902ce9 Add const to logging functions to shut up newer gcc versions
svn path=/trunk/kdesupport/qca/; revision=728492
2007-10-23 13:11:38 +00:00
Justin Karneges
00353e3b5f configwin.bat for the other plugins
svn path=/trunk/kdesupport/qca/; revision=724562
2007-10-12 17:28:14 +00:00
Justin Karneges
0cce2cae6f more updates for release
svn path=/trunk/kdesupport/qca/; revision=724328
2007-10-12 00:51:03 +00:00
Justin Karneges
c025229198 Provider qcaVersion, version, and deinit
svn path=/trunk/kdesupport/qca/; revision=673032
2007-06-08 20:05:04 +00:00
Justin Karneges
e94a0c1387 update all plugins to follow the new build scheme
svn path=/trunk/kdesupport/qca/; revision=669677
2007-05-30 02:00:52 +00:00
Alon Bar-Lev
e2f34ee1f3 Fixup casing
svn path=/trunk/kdesupport/qca/; revision=668246
2007-05-25 16:33:29 +00:00
Alon Bar-Lev
f6cd680c2e Move initialization to constructor until there is a better solution
svn path=/trunk/kdesupport/qca/; revision=662761
2007-05-09 05:02:52 +00:00
Dirk Mueller
c4bebb1a7b the usual "daily unbreak compilation"
svn path=/trunk/kdesupport/qca/; revision=661112
2007-05-04 16:15:11 +00:00
Alon Bar-Lev
8ee75eeda9 Fix krazy warnnings
svn path=/trunk/kdesupport/qca/; revision=656704
2007-04-22 05:02:51 +00:00
Justin Karneges
bf105d8475 lowercase
svn path=/trunk/kdesupport/qca/; revision=655527
2007-04-18 16:43:57 +00:00
Alon Bar-Lev
eb59897350 Add qca-logger
svn path=/trunk/kdesupport/qca/; revision=655460
2007-04-18 13:54:09 +00:00