From 6aaef03a50206b238b728fbb33d540edd3567424 Mon Sep 17 00:00:00 2001 From: Michael Mathers Date: Sat, 9 Sep 2017 00:41:16 +0930 Subject: Added ISO C++ Standard setting to vc10 template Added 'LanguageStandard' as a new setting that can be set for vs2017. --- docs/templates/vc10.txt | 1 + templates/vc10.mpd | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/templates/vc10.txt b/docs/templates/vc10.txt index 3606c8cb..861880a6 100644 --- a/docs/templates/vc10.txt +++ b/docs/templates/vc10.txt @@ -79,6 +79,7 @@ intdir = Specify this to override the default intermediate directory. keycontainer = Specify a key container to sign an assembly. keyfile = Specify key or key pair to sign an assembly. If set, embedmanifest defaults to false. largeaddressaware = Tells the linker that the application can handle addresses larger than 2 gigabytes. +languagestandard = Which version of ISO C++ standard to compile against (stdcpp14, stdcpp17, stdcpplatest) - Visual Studio 2017+ only lib_options = Additional command-line options for the librarian. link_options = Additional command-line options for the linker. linkerrorreporting = Allows you to provide linker internal compiler error (ICE) information directly to the Visual C++ team (PromptImmediately, QueueForNextLogin, SendErrorReport, NoErrorReport). diff --git a/templates/vc10.mpd b/templates/vc10.mpd index f3ffcc21..3eaf1e5f 100644 --- a/templates/vc10.mpd +++ b/templates/vc10.mpd @@ -231,6 +231,9 @@ <%if(OpenMP || OpenMPSupport)%> true <%endif%> +<%if(LanguageStandard)%> + <%LanguageStandard%> +<%endif%> <%if(pch_header)%> Use <%if(pch_header_output)%> -- cgit v1.2.1