diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-05 13:29:58 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-06 07:53:47 +0000 |
commit | 0af8d1b7870d44e4a024669cae28593173687de1 (patch) | |
tree | 6e637188b7d3a341b6e6a5e78703bdc381f030ff /tests | |
parent | c317ceb66930ac7a4312e6bfc51f1303a5413c34 (diff) |
Exporter.pkgconfig: Add support for custom variables
Change-Id: I42a01e549c15c91428d0f8bd9be03ea59c773032
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/blackbox/testdata/exports-pkgconfig/TheSecondLib.pc | 3 | ||||
-rw-r--r-- | tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/exports-pkgconfig/TheSecondLib.pc b/tests/auto/blackbox/testdata/exports-pkgconfig/TheSecondLib.pc index baac6df44..6c54b451e 100644 --- a/tests/auto/blackbox/testdata/exports-pkgconfig/TheSecondLib.pc +++ b/tests/auto/blackbox/testdata/exports-pkgconfig/TheSecondLib.pc @@ -1,3 +1,6 @@ +config1=a b +config2=c + Name: TheSecondLib Description: The second lib Version: 2.0 diff --git a/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs b/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs index 1b1109ca7..7934dc3c9 100644 --- a/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs +++ b/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs @@ -80,6 +80,7 @@ Project { return value.filter(function(p) { return p !== product.sourceDirectory; }); return value; }) + Exporter.pkgconfig.customVariables: ({config1: "a b", config2: "c"}) Depends { name: "cpp" } cpp.defines: ["SECONDLIB"] |