mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
15 lines
485 B
Markdown
15 lines
485 B
Markdown
### Windows
|
|
|
|
1) Open the solution in Visual Studio 2022
|
|
2) Compile as Release/x64
|
|
3) Set the startup project to the "UI" project and run
|
|
|
|
### Linux
|
|
|
|
To compile Mesen under Linux you will need a version of clang or gcc which supports C++17.
|
|
|
|
Additionally, the [.NET 6 SDK](https://learn.microsoft.com/en-us/dotnet/core/install/linux) must also be installed.
|
|
|
|
Examples:
|
|
`LTO=true make` will compile with clang and LTO.
|
|
`USE_GCC=true LTO=true make` will compile with gcc and LTO.
|