Skip to content

Added clang as a valid option for projects generated with vs2019#1462

Merged
samsinsane merged 1 commit intopremake:masterfrom
nickclark2016:master
Jun 11, 2020
Merged

Added clang as a valid option for projects generated with vs2019#1462
samsinsane merged 1 commit intopremake:masterfrom
nickclark2016:master

Conversation

@nickclark2016
Copy link
Member

What does this PR do?

This PR unifies the functionality of the clang toolset across gmake/gmake2 and VS2019+ actions. Formerly, clang would not resolve to a valid toolset, so it would be set to the default toolset of the Visual Studio version (e.g. v142 for VS2019). This allows the vs2010 project generator to resolve "clang" to the correct platform toolset in the project file.

How does this PR change Premake's behavior?

This break any code that was relying on the value clang to resolve to v142 in VS2019. Instead, clang now resolves to ClangCL in the PlatformToolset of the project file. Issue #1461 describes the full affects of the changes. This should only affect projects generated with the vs2019 action.

Copy link
Member

@samsinsane samsinsane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small change, can you also rebase and squish your commits. Other than this, everything looks great thanks for making this change!

@samsinsane samsinsane merged commit 2c42771 into premake:master Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants