40 Commits

Author SHA1 Message Date
Ivan Romanov
fbdf57f843 cmake: install .PDB files
On Windows when compiling with Visual Studio will be produced special
.pdb files for debuggins purposes. It must be put next to target
runtime (.dll or .exe) file.
2014-02-03 02:05:54 +06:00
Ivan Romanov
01bf129066 fix previous commit 2014-02-02 02:39:32 +06:00
Ivan Romanov
9504d1c8e0 cmake: put all runtime to bin when compiling
The most it is need for windows where no rpath and all dll's must be
in the same dir (or in PATH environment)
2014-02-02 02:35:55 +06:00
Ivan Romanov
184db75d4b cmake: use QT_HEADER_DIR instead of QT_INCLUDE_DIR
Qt/Mac frameworks has two include dirs.
One is the framework include for which CMake will add a -F flag
and the other is an include dir for non-framework Qt modules.
QT_INCLUDE_DIR contains both.
QT_HEADER_DIR is for non-framework Qt modules.
2014-01-28 17:33:58 +06:00
Ivan Romanov
6d690c0070 Build static QCA
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.
2014-01-02 03:50:18 +06:00
Ivan Romanov
4edfa3fcba fixed previous commit 2014-01-02 00:02:12 +06:00
Ivan Romanov
1c09b7b8b1 Dropped own FindQt4 cmake module use system one 2014-01-01 22:32:10 +06:00
Ivan Romanov
94ab628411 Added botan-config-1.10 to list possible botan-config names
Such name is used on Fedora 20.
2014-01-01 21:26:43 +06:00
Ivan Romanov
5d06579605 Use internal cache vars to choose plugins for building
It allow to know will be particular plugin build or no
in any place of cmake rules.
2014-01-01 02:10:15 +06:00
Ivan Romanov
0b363c4048 Do not link against QtConcurrent 2013-11-16 20:19:31 +06:00
Ivan Romanov
bd2c474039 no ECM 2013-08-30 20:18:00 +06:00
Ivan Romanov
eb011df617 fixed previous commit 2013-08-27 03:50:45 +06:00
Ivan Romanov
1c6dbab41a fix Qt5 mkspecs install dir 2013-08-27 03:41:39 +06:00
Ivan Romanov
0a8b9db661 [qca-ossl] compiling without AES CTR
Actual openssl versions might have no AES CTR.
In this case qca-ossl will be compiled without AES CTR.

Also dropped own obsoletes FindOpenSSL.cmake.
System version is better choice.
2013-08-25 14:47:36 +06:00
Ivan Romanov
5f6e1759ed install in qt5 prefix 2013-08-24 21:27:08 +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
Ivan Romanov
1b67ea10b0 [qca] improved cmake modules
gpg executable now can be gpg2 too
FindLibGcrypt now will be worked on MinGW/MSYS

svn path=/trunk/kdesupport/qca/; revision=1357722
2013-06-14 10:02:14 +00:00
David Faure
6e0134f3b3 Port to Qt5 (when Qt5 is found, otherwise use Qt4)
The unittests are disabled (because of QSKIP)
and the plugins currently break compilation (because of Q_EXPORT_PLUGIN2)

svn path=/trunk/kdesupport/qca/; revision=1338378
2013-02-07 20:19:00 +00:00
Brad Hards
6fb56b6114 Apply fix from Fabrice Ménard, to improve detection of libgcrypt.
If you previously got "libgcrypt seems to be too old", even with
a really recent libgcrypt, this one is for you.

svn path=/trunk/kdesupport/qca/; revision=752573
2007-12-24 22:57:54 +00:00
Patrick Spendrin
6e9275ebac replaced with version of kdelibs-old one caused cmake error on win32
svn path=/trunk/kdesupport/qca/; revision=705910
2007-08-28 21:33:43 +00:00
Laurent Montel
9dbadfb3d1 Remove not necessary path
svn path=/trunk/kdesupport/qca/; revision=697101
2007-08-06 19:25:31 +00:00
Laurent Montel
0ee9f2b4f9 Don't try to use pkgconfig on win32
svn path=/trunk/kdesupport/qca/; revision=693855
2007-07-29 09:50:49 +00:00
Laurent Montel
334b6612b8 Not try to use pkgconfig on win
svn path=/trunk/kdesupport/qca/; revision=693854
2007-07-29 09:47:29 +00:00
Jonathan Riddell
9b45f191b9 add missing licence file
svn path=/trunk/kdesupport/qca/; revision=693190
2007-07-27 11:46:28 +00:00
Laurent Montel
3ecd37f6b2 Fix when modules is required
svn path=/trunk/kdesupport/qca/; revision=651037
2007-04-06 08:51:15 +00:00
Brad Hards
30a74a6367 Documentation fixes for cmake users.
svn path=/trunk/kdesupport/qca/; revision=644009
2007-03-19 00:22:35 +00:00
Laurent Montel
1974f73661 Fix display message
svn path=/trunk/kdesupport/qca/; revision=642509
2007-03-14 15:31:56 +00:00
Christian Ehrlicher
78406a6651 win32 compile
- update openssl to search for libeay too
- saslservtests needs wsock32
- export CertificateInfoPair to fix qca-openssl linking
- add setenv() to pgpunittest.cpp for win32 - maybe add a check for setenv()

svn path=/trunk/kdesupport/qca/; revision=633918
2007-02-15 19:17:56 +00:00
Brad Hards
6849a3d186 Fix the test for built-in (system) certificate store. We
should only use the provided certs if no system certs
are available.

svn path=/trunk/kdesupport/qca/; revision=615322
2006-12-21 04:18:17 +00:00
Alon Bar-Lev
204251b0d5 pkcs11-helper is now external dependency
svn path=/trunk/kdesupport/qca/; revision=611362
2006-12-07 20:17:50 +00:00
Brad Hards
5cbd52dbd3 Update the NSS module so it has a chance to work, and
drop in a new Botan module.

svn path=/trunk/kdesupport/qca/; revision=609824
2006-12-02 11:49:26 +00:00
Brad Hards
b8be6cbc38 Add forgotten Find module for libgcrypt
svn path=/trunk/kdesupport/qca/; revision=609775
2006-12-02 06:51:37 +00:00
Laurent Montel
d5e3157629 Need to compile under MacOsX
svn path=/trunk/kdesupport/qca/; revision=605686
2006-11-17 19:25:10 +00:00
Laurent Montel
ba66e7a1cd Add "-DWIN32" when we generate moc file under windows
otherwise when we have a #ifdef Q_OS_WIN into .cpp file which
is used to generate moc file, moc doen't know Q_OS_WIN
=> it doesn't generate good moc file.

Thanks Simon to help me.


svn path=/trunk/kdesupport/qca/; revision=605587
2006-11-17 10:39:06 +00:00
Laurent Montel
427a95c8df Now we can compile qca-nss plugins (need mozilla lib)
svn path=/trunk/kdesupport/qca/; revision=594203
2006-10-10 13:47:57 +00:00
Brad Hards
8c08bf89e3 A general cleanup of the cmake support for QCA.
This fixes the problem associated with not being able to
install the bundled certificates.

It also ensures that the plugins get installed into an
appropriate directory.

Note that this does not fix problems associated with
not finding the system certificate stores.


svn path=/trunk/kdesupport/qca/; revision=593549
2006-10-08 06:53:40 +00:00
Laurent Montel
319eca25a9 Try to compile sasl2 plugins
svn path=/trunk/kdesupport/qca/; revision=591494
2006-10-02 15:18:50 +00:00
Laurent Montel
48157e0d49 Merge my patch and duncan patch
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
2006-10-02 09:59:51 +00:00