-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make compile with msvc, clang and gcc on Windows #14114
Conversation
Added some comments. Something to keep in mind - we support building on anemic CI machines so some blocks guarded by |
Some missing stat() changes in File.cpp |
But overall, LGTM |
I added support for compiling rpcs3 with msvc, clang and gcc on Windows using cmake. I also fixed some compilation errors and warnings and cleaned up some cmake scripts. I tested it on Windows and Linux.
On Windows you can use clang in the msys2 clang64 environment or gcc in the msys2 mingw64 environment. See https://www.msys2.org/docs/environments/.
You can generate a VS solution with:
I realize that there are a lot of changes. I guess I could reduce the amount of changes by disabling some warning instead of fixing them.