mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Update BUILDING.md
Add release and march options Add ubuntu 24.04 specific options
This commit is contained in:
parent
5682a350a4
commit
f9c67d60f1
8
.github/BUILDING.md
vendored
8
.github/BUILDING.md
vendored
|
|
@ -26,5 +26,11 @@ git clone --recursive https://github.com/RPCSX/rpcsx && cd rpcsx
|
||||||
## How to compile the emulator
|
## How to compile the emulator
|
||||||
|
|
||||||
```
|
```
|
||||||
cmake -B build && cmake --build build -j$(nproc)
|
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_INIT="-march=native" && cmake --build build -j$(nproc)
|
||||||
|
```
|
||||||
|
|
||||||
|
For Ubuntu 24.04 you need to manually specify compiler version:
|
||||||
|
|
||||||
|
```
|
||||||
|
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_INIT="-march=native" -DCMAKE_CXX_COMPILER=g++-14 && cmake --build build -j$(nproc)
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue