Fix __cplusplus macro on MSVC and add logging C++ version used during compilation

This commit is contained in:
Wojtek Figat
2023-11-28 15:55:34 +01:00
parent cf8b7a20c2
commit 0aeac36f09
2 changed files with 8 additions and 1 deletions

View File

@@ -453,6 +453,7 @@ namespace Flax.Build.Platforms
commonArgs.Add("/std:c++latest");
break;
}
commonArgs.Add("/Zc:__cplusplus");
// Generate Intrinsic Functions
if (compileEnvironment.IntrinsicFunctions)