You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code globally works well, except for the cppdialect "C++17" instruction, which is completely ignored. Indeed all my projects remain configured to <LanguageStandard>stdcpplatest</LanguageStandard> instead of <LanguageStandard>stdcpp17</LanguageStandard> after the deployment.
This code globally works well, except for the cppdialect "C++17" instruction, which is completely ignored. Indeed all my projects remain configured to <LanguageStandard>stdcpplatest</LanguageStandard> instead of <LanguageStandard>stdcpp17</LanguageStandard> after the deployment.
For VS2022, Premake will only emit stdcpplatest if cppdialect is explicitly set to "C++latest". You can see the logic here:
With just the snippet you've provided above, I can't provide much more assistance beyond recommending that you look at premake5-modules.lua and skia_includes().
In order to deploy a Visual Studio 2022 solution, I'm using the following code:
This code globally works well, except for the
cppdialect "C++17"
instruction, which is completely ignored. Indeed all my projects remain configured to<LanguageStandard>stdcpplatest</LanguageStandard>
instead of<LanguageStandard>stdcpp17</LanguageStandard>
after the deployment.I already asked this question here: https://stackoverflow.com/questions/78766168/premake5-cppdialect-is-ignored-while-creating-project-for-vs2022, unfortunately it remained unresolved.
Can you please tell me what I need to change in my above code to make the
cppdialect
instruction to be applied during the deployment?The text was updated successfully, but these errors were encountered: