Warning when trying to create a project for vs2022 with toolset
hanagasira opened this issue · comments
What seems to be the problem?
workspace "Examples"
configurations {"Debug", "Release"}
project "ExampleCpp"
kind "ConsoleApp"
language "C++"
toolset "v143"
Execute the following command against this project file
premake5.exe vs2022 --file=premake5.lua
The following warning appears. The content of the generated project file is normal
** Warning: Unsupported toolset 'msc-v143' used for language 'C++' for project 'ExampleCpp'
What did you expect to happen?
No warnings are displayed.
What have you tried so far?
Changing the value of toolset to v142
or msc-v143
will give the same warning
How can we reproduce this?
- Visual Studio 2022 (vs2022)
- Visual Studio 2019 (vs2019)
- Visual Studio 2017 (vs2017)
- Visual Studio 2015 (vs2015)
- Visual Studio 2012 (vs2012)
- Visual Studio 2010 (vs2010)
- Visual Studio 2008 (vs2008)
- Visual Studio 2005 (vs2005)
- GNU Makefile (gmake)
- GNU Makefile 2 (gmake2)
- XCode (xcode)
- Codelite
- Other (Please list below)
What version of Premake are you using?
Anything else we should know?
Row added in #1997
premake-core/src/base/action.lua
Line 297 in 561f9a9
The value of valid_tools
is { "msc", "clang" }
The value of toolset
is "msc-v143"
(You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to issues like these!)
Should be fixed by #2113
BTW, generation should work, it is just the warning which is wrong.