reformat code snippets, reword guide to build .deb from previous revision
parent
39be2b8651
commit
754b032584
|
@ -28,26 +28,51 @@ You can reinstall them after Dolphin builds successfully if you like.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
### Global Build
|
### Global Build
|
||||||
1. `mkdir build && cd build`
|
```bash
|
||||||
2. `cmake ..`
|
mkdir build && cd build
|
||||||
3. `make -j$(nproc)`
|
|
||||||
4. `sudo make install` (optional, to install)
|
cmake ..
|
||||||
|
|
||||||
|
make -j$(nproc)
|
||||||
|
|
||||||
|
sudo make install #optional, to install Dolphin
|
||||||
|
```
|
||||||
|
|
||||||
### Local Build
|
### Local Build
|
||||||
1. `mkdir build && cd build`
|
```bash
|
||||||
2. `cmake .. -DLINUX_LOCAL_DEV=true`
|
mkdir build && cd build
|
||||||
3. `make -j$(nproc)`
|
|
||||||
4. `ln -s ../../Data/Sys Binaries/`
|
cmake .. -DLINUX_LOCAL_DEV=true
|
||||||
|
|
||||||
|
make -j$(nproc)
|
||||||
|
|
||||||
|
ln -s ../../Data/Sys Binaries/
|
||||||
|
```
|
||||||
|
|
||||||
### Portable Build
|
### Portable Build
|
||||||
1. `mkdir build && cd build`
|
```bash
|
||||||
2. `cmake .. -DLINUX_LOCAL_DEV=true`
|
mkdir build && cd build
|
||||||
3. `make -j$(nproc)`
|
|
||||||
4. `cp -r ../Data/Sys/ Binaries/`
|
cmake .. -DLINUX_LOCAL_DEV=true
|
||||||
5. `touch Binaries/portable.txt`
|
|
||||||
|
make -j$(nproc)
|
||||||
|
|
||||||
|
cp -r ../Data/Sys/ Binaries/
|
||||||
|
|
||||||
|
touch Binaries/portable.txt
|
||||||
|
```
|
||||||
|
|
||||||
### Distributable .deb Package
|
### Distributable .deb Package
|
||||||
https://github.com/dolphin-emu/dolphin/pull/10170
|
following instructions at [the PR this feature was implemented](https://github.com/dolphin-emu/dolphin/pull/10170):
|
||||||
|
```bash
|
||||||
|
mkdir build && cd build
|
||||||
|
|
||||||
|
cmake -DCPACK_PACKAGE_CONTACT="Your Name Here" .. #you're responsible for what you distribute
|
||||||
|
|
||||||
|
make -j$(nproc)
|
||||||
|
|
||||||
|
cpack -G DEB
|
||||||
|
```
|
||||||
|
|
||||||
## Externally Managed Packages
|
## Externally Managed Packages
|
||||||
On some distributions of Linux, package maintainers provide unmodified builds of Dolphin. These are listed below:
|
On some distributions of Linux, package maintainers provide unmodified builds of Dolphin. These are listed below:
|
||||||
|
|
Loading…
Reference in New Issue