diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-06-16 08:44:36 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-06-16 14:07:09 +0200 |
commit | 3ca5b46e5da04672ed0eaeaa6a5b30673705e4c9 (patch) | |
tree | 7832ffb154cafe05fdb795b1fb1e37bea3ed520b /configure.json | |
parent | 9648ffff7efbb3582506184191411197c9099c69 (diff) |
Expose the "debug" build feature privately
Consumers can now check the "debug" feature to determine whether Qt was
built in the "Debug" configuration.
Pick-to: 6.2 6.1
Change-Id: I225125d38ded508e9792a730ce421b33bceacddf
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.json b/configure.json index e4379b8be9..9ad0c03f43 100644 --- a/configure.json +++ b/configure.json @@ -783,7 +783,8 @@ }, "debug": { "label": "Build for debugging", - "autoDetect": "features.developer-build || (config.win32 && !config.gcc) || config.darwin" + "autoDetect": "features.developer-build || (config.win32 && !config.gcc) || config.darwin", + "output": [ "privateFeature" ] }, "debug_and_release": { "label": "Compile libs in debug and release mode", |