mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-23 01:01:26 +00:00
Add build instructions for linux
This commit is contained in:
parent
04e716178b
commit
f0e4f11a2d
@ -252,7 +252,12 @@ The project requires CMake 3.20 or later and Clang 18 or later to build. Since t
|
||||
Compilers other than Clang have not been tested and are not recommended, including for recompilation output. The project relies on compiler-specific intrinsics and techniques that may not function correctly on other compilers, and many optimization methods depend on Clang's code generation.
|
||||
|
||||
On Windows, you can use the clang-cl toolset and open the project in Visual Studio's CMake integration.
|
||||
On Linux, you can build via the following commands after creating and entering the `build` directory:
|
||||
```
|
||||
cmake -S .. -B . -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang -DCMAKE_EXE_LINKER_FLAGS="-lstdc++"
|
||||
cmake --build . --config Release
|
||||
```
|
||||
|
||||
## Special Thanks
|
||||
|
||||
This project could not have been possible without the [Xenia](https://github.com/xenia-project/xenia) emulator, as many parts of the CPU code conversion process has been implemented by heavily referencing its PPC code translator. The project also uses code from [Xenia Canary](https://github.com/xenia-canary/xenia-canary) to patch XEX binaries.
|
||||
This project could not have been possible without the [Xenia](https://github.com/xenia-project/xenia) emulator, as many parts of the CPU code conversion process has been implemented by heavily referencing its PPC code translator. The project also uses code from [Xenia Canary](https://github.com/xenia-canary/xenia-canary) to patch XEX binaries.
|
||||
|
Loading…
x
Reference in New Issue
Block a user