Add detailed cmake instructions
parent
d0c8f8639c
commit
d080953b75
|
@ -19,12 +19,20 @@ To build with CMake (optionally verbose): Download and install [CMake](http://ww
|
|||
|
||||
#### CMake Notes
|
||||
|
||||
To build Dolphin from scratch using CMake,
|
||||
```bash
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
```
|
||||
|
||||
The `-j` option can be passed to `make` in order to compile multiple objects at once.
|
||||
A good rule of thumb is number of CPU cores plus one. For example, on a quad core CPU `make -j5` would be a good choice.
|
||||
|
||||
You can execute `cmake -L` to view the options that Dolphin's CMake environment supports, as well as their current and possible settings.
|
||||
|
||||
If you have any problems compiling, use the verbose option (shown above) to give more detail. If you report a problem, at a minimum include the last screen-full of lines.
|
||||
If you have any problems compiling, use the verbose option (`make VERBOSE=1`) to give more detail. If you report a problem, at a minimum include the last screen-full of lines.
|
||||
|
||||
|
||||
## Optional: Ninja
|
||||
|
|
Loading…
Reference in New Issue