premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.13k stars 611 forks source link

[vs2010+] Handle `compileas` for files with "unknown" extensions. #2195

Closed Jarod42 closed 3 months ago

Jarod42 commented 3 months ago

What does this PR do?

Handle compileas for files with "unknown"/mismatching_categories extensions for vs* generator.

How does this PR change Premake's behavior?

Only vs* generators impacted.

Anything else we should know?

Tested with https://github.com/Jarod42/premake-sample-projects/tree/vs_compileas/projects/project-compileas with action: https://github.com/Jarod42/premake-sample-projects/actions/runs/8392851053

Did you check all the boxes?