mirror of https://github.com/snes9xgit/snes9x.git
Updated Compiling (markdown)
parent
1ece6a6a7b
commit
0cbd17403d
40
Compiling.md
40
Compiling.md
|
@ -39,4 +39,42 @@ NOTE: Unicode support requires a special zlib build - see the end of the zlib en
|
|||
Load the Snes9x solution.
|
||||
Select the desired configuration and build.
|
||||
The Release configuration may build significantly slower than Debug.
|
||||
Then you can run it.
|
||||
Then you can run it.
|
||||
|
||||
## GTK
|
||||
|
||||
Requirements:
|
||||
- GTK 3.20+ or GTK 2.16+ and all dependencies
|
||||
- SDL 2.0
|
||||
- X11, even if only using Wayland
|
||||
- libepoxy
|
||||
- meson
|
||||
|
||||
Optional:
|
||||
- glslang for slang shader support
|
||||
- PulseAudio
|
||||
- ALSA
|
||||
- OSS
|
||||
- PortAudio
|
||||
- Wayland
|
||||
- libpng
|
||||
- minizip
|
||||
- zlib
|
||||
|
||||
Building with meson:
|
||||
1. Change to the `gtk` directory and run meson:
|
||||
```
|
||||
snes9x/gtk$ meson build --prefix=/usr --buildtype=release --strip
|
||||
```
|
||||
A list of options can be found in `meson_options.txt`. Most will be autodetected. If you wish to use GTK 2 or enable dangerous hacks in the UI, those must be done by supplying the respective option.
|
||||
|
||||
2. Build with ninja:
|
||||
```
|
||||
snes9x/gtk/build$ ninja
|
||||
```
|
||||
|
||||
3. Install:
|
||||
```
|
||||
snes9x/gtk/build$ sudo ninja install
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue