Skip to content

Always use MinGW when cross-compiling for Windows on POSIX platforms#33

Merged
DanielaOrtner merged 1 commit into
RebelToolbox:mainfrom
madmiraal:update-windows-build
Jan 31, 2024
Merged

Always use MinGW when cross-compiling for Windows on POSIX platforms#33
DanielaOrtner merged 1 commit into
RebelToolbox:mainfrom
madmiraal:update-windows-build

Conversation

@madmiraal
Copy link
Copy Markdown
Contributor

Currently, when building for Windows, the default is to use Microsoft's Visual C++ compiler (MSVC). However, this compiler is not available on POSIX systems i.e. Linux and MacOS.
Furthermore, currently, Windows release versions are built using the MinGW cross-compiler on Linux. Therefore, it makes sense that, when building for Windows on POSIX systems, the default compiler is the MinGW compiler.
This PR makes MinGW the default compiler on POSIX systems.

Copy link
Copy Markdown
Contributor

@DanielaOrtner DanielaOrtner left a comment

Choose a reason for hiding this comment

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

Good to see we are opening up Rebel to those using Windows.

@DanielaOrtner DanielaOrtner merged commit 8ec36f5 into RebelToolbox:main Jan 31, 2024
@madmiraal madmiraal deleted the update-windows-build branch January 31, 2024 18:45
@madmiraal madmiraal added PR Type: Enhancement Your current game will work better. and removed enhancement labels May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR Type: Enhancement Your current game will work better.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants