Add KConfig recipe

Summary:
Based on Johan's work branch. This also disables unit tests for all
frameworks, tests aren't executable for cross-builds anyway, and KConfig
tries to run the target kconfig_compiler there.

The native version can still further improved by allowing a QtCore-only
build of KConfig, as we are only interested in the kconfig_compiler.

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D6987
This commit is contained in:
Volker Krause
2017-07-30 12:56:07 +02:00
parent ab1ef73548
commit e29f976fac
3 changed files with 24 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ inherit cmake_qt5
EXTRA_OECMAKE += " \
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST} \
-DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/usr/lib/cmake \
-DBUILD_TESTING=OFF \
"
DEPENDS += "ecm"