update MSVC to use new lambda processing

Signed-off-by: hultonha <hultonha@amazon.co.uk>
This commit is contained in:
hultonha
2021-07-13 18:23:19 +01:00
parent 1220ea6539
commit 9939913c8d
@@ -77,6 +77,7 @@ ly_append_configurations_options(
/Zc:forScope # Force Conformance in for Loop Scope
/diagnostics:caret # Compiler diagnostic options: includes the column where the issue was found and places a caret (^) under the location in the line of code where the issue was detected.
/Zc:__cplusplus
/Zc:lambda # Use the new lambda processor (See https://developercommunity.visualstudio.com/t/A-lambda-that-binds-the-this-pointer-w/1467873 for more details)
/favor:AMD64 # Create Code optimized for 64 bit
/bigobj # Increase number of sections in obj files. Profiling has shown no meaningful impact in memory nore build times
COMPILATION_DEBUG