diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-03-06 10:47:29 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-04 13:03:13 +0000 |
commit | b3e1e3e3b307e60924dcf3cf308488a362de88f0 (patch) | |
tree | cd0ee0824eba2693198681ee587b691ee5e28e50 /qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs | |
parent | 400d9e1d66aacb2760b2190a5f10cfc3d5d359d2 (diff) | |
download | qbs-b3e1e3e3b307e60924dcf3cf308488a362de88f0.tar.gz |
Add module Exporter.pkgconfig
This module generates .pc files for products, optionally attempting to
derive some of the entries from the contents of the Export item.
[ChangeLog] Added new module "Exporter.pkgconfig" for creating pkg-
config metadata files.
Task-number: QBS-1232
Change-Id: Ic41e645e4462e8f85ad6c2025fb967e88d3438f9
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs')
-rw-r--r-- | qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs b/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs index 50a5ea79e..0627a5cf9 100644 --- a/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs +++ b/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs @@ -19,8 +19,11 @@ Module { property bool installManPage: qbs.targetOS.contains("unix") property bool installHtml: true property bool installQch: false + property bool generatePkgConfigFiles: installApiHeaders && qbs.targetOS.contains("unix") + && !qbs.targetOS.contains("darwin") property bool generateQbsModules: installApiHeaders property string docInstallDir: "share/doc/qbs/html" + property string pkgConfigInstallDir: FileInfo.joinPaths(libDirName, "pkgconfig") property string qbsModulesBaseDir: FileInfo.joinPaths(libDirName, "qbs", "modules") property string relativeLibexecPath: "../" + libexecInstallDir property string relativePluginsPath: "../" + libDirName |