portable.txt enables portable configuration on linux, README updated to

show how to build a portable and a local dolphin on linux.
This commit is contained in:
Rukai
2016-02-10 16:42:32 +11:00
parent b33a5e2510
commit f42350e719
2 changed files with 53 additions and 13 deletions

View File

@ -50,15 +50,45 @@ bundled with Dolphin and used if they're not installed on your system. CMake
will inform you if a bundled library is used or if you need to install any
missing packages yourself.
### Build Steps:
1. `mkdir Build`
2. `cd Build`
### OS X Build Steps:
1. `mkdir build`
2. `cd build`
3. `cmake ..`
4. `make`
On OS X, an application bundle will be created in `./Binaries`.
An application bundle will be created in `./Binaries`.
On Linux, it's strongly recommended to perform a global installation via `sudo make install`.
### Linux Global Build Steps:
To install to your system.
1. `mkdir build`
2. `cd build`
3. `cmake ..`
4. `make`
5. `sudo make install`
### Linux Local Build Steps:
Useful for development as root access is not required.
1. `mkdir Build`
2. `cd Build`
3. `cmake .. -DLINUX_LOCAL_DEV=true`
4. `make`
5. `ln -s ../../Data/Sys Binaries/`
### Linux Portable Build Steps:
Can be stored on external storage and used on different Linux systems.
Or useful for having multiple distinct Dolphin setups for testing/development/TAS.
1. `mkdir Build`
2. `cd Build`
3. `cmake .. -DLINUX_LOCAL_DEV=true`
4. `make`
5. `cp -r ../Data/Sys/ Binaries/`
6. `touch Binaries/portable.txt`
## Building for Android