coin: Add feature to enable warnings as errors
Change-Id: If770f3e416674173316d3ef052c195070e28ede6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit d39b5f376db85a18b163e31bd25a8c9dc4a5292c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
646d8f86fd
commit
d5294af74f
@ -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