mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
CREATE_PROJECT: Restrict /Zc:__cplusplus to newer MSVC
Fixes compiler warnings on older versions that don't support this
This commit is contained in:
parent
a5833242a1
commit
da8dbea44b
@ -395,7 +395,7 @@ void MSBuildProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstrea
|
||||
<< "\t\t\t<MultiProcessorCompilation>true</MultiProcessorCompilation>\n"
|
||||
<< "\t\t\t<ConformanceMode>true</ConformanceMode>\n"
|
||||
<< "\t\t\t<ObjectFileName>$(IntDir)dists\\msvc\\%(RelativeDir)</ObjectFileName>\n"
|
||||
<< "\t\t\t<AdditionalOptions>/utf-8 /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>\n"
|
||||
<< "\t\t\t<AdditionalOptions>/utf-8 " << (_msvcVersion.version >= 15 ? "/Zc:__cplusplus " : "") << "%(AdditionalOptions)</AdditionalOptions>\n"
|
||||
<< "\t\t</ClCompile>\n"
|
||||
<< "\t\t<Link>\n"
|
||||
<< "\t\t\t<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user