Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the generation of source projects #1883

Merged
merged 1 commit into from
May 19, 2022

Conversation

nickclark2016
Copy link
Member

What does this PR do?

#1629 introduced an issue that made it impossible to have both x86 and x64 published source packages. This adds a "default" architecture flag, which produces project files with the default architectures of their exporter (except for windows, which exports both x86 and x64 explicitly).

In addition, we go ahead and add functionality the VS2022 exporter to the publish action and search for vcvars64.bat to fall back on if we can't find vcvars32.bat.

How does this PR change Premake's behavior?

Reverts the default behavior to pre-#1629 behavior.

Anything else we should know?

Closes #1862.

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

@nickclark2016 nickclark2016 merged commit 0b39163 into premake:master May 19, 2022
@nickclark2016 nickclark2016 deleted the issues/1862 branch May 19, 2022 15:53
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.

VS build files of Premake from 5.0.0-beta1 source download only contains 32-bit targets
2 participants