coin: Add feature to enable warnings as errors
Pick-to: 6.2 5.15 Change-Id: If770f3e416674173316d3ef052c195070e28ede6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d05da5f306
commit
d39b5f376d
@ -340,3 +340,13 @@ instructions:
|
||||
property: host.os
|
||||
equals_value: Linux
|
||||
|
||||
# Enable warnings are errors
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: AppendToEnvironmentVariable
|
||||
variableName: CONFIGURE_ARGS
|
||||
variableValue: " -DWARNINGS_ARE_ERRORS=ON"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: WarningsAreErrors
|
||||
|
Loading…
x
Reference in New Issue
Block a user