diff --git a/util/vs_project_template/vs_project_files/target.vcxproj.jinja b/util/vs_project_template/vs_project_files/target.vcxproj.jinja index 22f0e27..8451865 100644 --- a/util/vs_project_template/vs_project_files/target.vcxproj.jinja +++ b/util/vs_project_template/vs_project_files/target.vcxproj.jinja @@ -1,9 +1,9 @@ {%- set ms_cxx_standard = { - 'c++14': 'stdcpp14', - 'c++17': 'stdcpp17', - 'c++20': 'stdcpp20', - 'c++23': 'stdcpplatest', - 'c++26': 'stdcpplatest'}[project.cxx_standard] | default('stdcpp14') + 'c++14': 'c++14', + 'c++17': 'c++17', + 'c++20': 'c++20', + 'c++23': 'c++latest', + 'c++26': 'c++latest'}[project.cxx_standard] | default('c++14') -%} @@ -59,7 +59,7 @@ {{ build_type != 'release' and 'true' or 'false' }} {{ get_target_property(build_type, target.name, 'CPPPATH') | join(';') }};%(AdditionalIncludeDirectories) false - {{ ms_cxx_standard }} + /std:{{ ms_cxx_standard }} {%- endfor %}