Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
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.
CCMAIL: duncan@kde.org
Now we can compile qca with cmake
Need to fix plugins compile and unitest and other small error.
svn path=/trunk/kdesupport/qca/; revision=591302
Essentially if you had previously used a subclass
of Cipher, Hash or MAC, then you need to change
your code. The change is pretty simple - you
just pass a string name as the first argument.
svn path=/trunk/kdesupport/qca/; revision=576204
Justin, what was the intended provider name for the Ciphers again? I
know we talked about this, but I don't remember the format / content.
Also, any chance you could do one provider example (say AES128, CBC,
No Padding) for me?
CCMAIL: justin-psi@affinix.com
svn path=/trunk/kdesupport/qca/; revision=398296
show the two ways to do a basic hash. Also, an example of some of the
options for working with providers. More comments to explain everything.
This also adds copyright notices for everything, and notes on the
pre-QCA2 examples.
svn path=/trunk/kdesupport/qca/; revision=374181