mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
DynamicTablesPkg: Option for VS2017 static code analysis
Add build option STATIC_ANALYSIS to enable VS2017 static code analysis. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
This commit is contained in:
parent
5650f307b3
commit
d671d1fa48
@ -40,3 +40,10 @@
|
||||
|
||||
[BuildOptions]
|
||||
*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
|
||||
|
||||
!ifdef STATIC_ANALYSIS
|
||||
# Check all rules
|
||||
# Inhibit C6305: Potential mismatch between sizeof and countof quantities.
|
||||
*_VS2017_*_CC_FLAGS = /wd6305 /analyze
|
||||
!endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user