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
|
||||
### Global Build
|
||||
1. `mkdir build && cd build`
|
||||
2. `cmake ..`
|
||||
3. `make -j$(nproc)`
|
||||
4. `sudo make install` (optional, to install)
|
||||
```bash
|
||||
mkdir build && cd build
|
||||
|
||||
cmake ..
|
||||
|
||||
make -j$(nproc)
|
||||
|
||||
sudo make install #optional, to install Dolphin
|
||||
```
|
||||
|
||||
### Local Build
|
||||
1. `mkdir build && cd build`
|
||||
2. `cmake .. -DLINUX_LOCAL_DEV=true`
|
||||
3. `make -j$(nproc)`
|
||||
4. `ln -s ../../Data/Sys Binaries/`
|
||||
```bash
|
||||
mkdir build && cd build
|
||||
|
||||
cmake .. -DLINUX_LOCAL_DEV=true
|
||||
|
||||
make -j$(nproc)
|
||||
|
||||
ln -s ../../Data/Sys Binaries/
|
||||
```
|
||||
|
||||
### Portable Build
|
||||
1. `mkdir build && cd build`
|
||||
2. `cmake .. -DLINUX_LOCAL_DEV=true`
|
||||
3. `make -j$(nproc)`
|
||||
4. `cp -r ../Data/Sys/ Binaries/`
|
||||
5. `touch Binaries/portable.txt`
|
||||
```bash
|
||||
mkdir build && cd build
|
||||
|
||||
cmake .. -DLINUX_LOCAL_DEV=true
|
||||
|
||||
make -j$(nproc)
|
||||
|
||||
cp -r ../Data/Sys/ Binaries/
|
||||
|
||||
touch Binaries/portable.txt
|
||||
```
|
||||
|
||||
### 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
|
||||
On some distributions of Linux, package maintainers provide unmodified builds of Dolphin. These are listed below:
|
||||
|
|
Loading…
Reference in New Issue