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)
Don't start FileWatch object if no parent forlder non-existent.
Don't add file to Qt watcher class if the file non-existent.
It will be added after file creating
In accordance with HFS applications may use a single subdirectory
under /usr/lib. If an application uses a subdirectory, all
architecture-dependent data exclusively used by the application
must be placed within that subdirectory.
It was a bad idea by default autotools uses /usr/local/lib
for installing libraries on ANY architecture. But GNUInstallDirs
uses some rules to detect a some lib suffix. Anyway seems
LIB_SUFFIX is a standard de facto way to specify this suffix
when it is need.
This reverts commit d594caf7f3285fc3be056c27079011b48b290587.
LIBRARY_OUTPUT_PATH is now documented as old-style and
should no longer be used. Should be used
CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of.
Also dropped LIB_SUFFIX. I don't understand any sense
of this variable and it has no any comments.
Also googling no clear answer. So I just dropped it.
This cache entry dropped. Now Qt prefix will be used only
if user explicity don't define CMAKE_INSTALL_PREFIX.
Also show attention for user if he didn't define CMAKE_INSTALL_PREFIX
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.